From 8bd518fb119243738513d979bfc271b1e4e24cde Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Picca=20Fr=C3=A9d=C3=A9ric-Emmanuel?= Date: Wed, 11 Sep 2024 10:49:38 +0200 Subject: [PATCH] try to fix build on nix --- src/Bindings/HDF5/Raw/H5L.hsc | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/src/Bindings/HDF5/Raw/H5L.hsc b/src/Bindings/HDF5/Raw/H5L.hsc index 1490268..f122e6d 100644 --- a/src/Bindings/HDF5/Raw/H5L.hsc +++ b/src/Bindings/HDF5/Raw/H5L.hsc @@ -68,6 +68,16 @@ h5l_MAX_LINK_NAME_LEN = #const H5L_MAX_LINK_NAME_LEN -- |Information struct for link (for 'h5l_get_info' / 'h5l_get_info_by_idx') +#starttype H5L_info_t +#field type, +#field corder_valid, +#field corder, Int64 +#field cset, +#union_field u.address, +#union_field u.val_size, +#stoptype + + #if H5_VERSION_GE(1,12,0) #starttype H5L_info2_t @@ -93,15 +103,6 @@ h5l_get_info_by_idx = h5l_get_info_by_idx1 #else -#starttype H5L_info_t -#field type, -#field corder_valid, -#field corder, Int64 -#field cset, -#union_field u.address, -#union_field u.val_size, -#stoptype - #ccall H5Lget_info, -> CString -> Out -> -> IO #ccall H5Lget_info_by_idx, -> CString -> -> -> -> Out -> -> IO