Skip to content

Commit

Permalink
M
Browse files Browse the repository at this point in the history
  • Loading branch information
musm committed Apr 23, 2019
1 parent 1b535df commit fb92df5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/HDF5.jl
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ end
function init_libhdf5()
status = ccall((:H5open, libhdf5), Cint, ())
status < 0 && error("Can't initialize the HDF5 library")
nothing
return nothing
end

function h5_get_libversion()
Expand Down Expand Up @@ -1601,7 +1601,7 @@ function readmmap(obj::HDF5Dataset, ::Type{Array{T}}) where {T}
local fd
prop = h5d_get_access_plist(checkvalid(obj).id)
try
ret = Ref{Ptr{CVoid}}()
ret = Ref{Ptr{Cvoid}}()
h5f_get_vfd_handle(obj.file.id, prop, ret)
fd = unsafe_load(ret[])
finally
Expand Down Expand Up @@ -2097,7 +2097,7 @@ for (jlname, h5name, outtype, argtypes, argsyms, msg) in
(:h5f_close, :H5Fclose, Herr, (Hid,), (:file_id,), "Error closing file"),
(:h5f_flush, :H5Fflush, Herr, (Hid, Cint), (:object_id, :scope,), "Error flushing object to file"),
(:hf5start_swmr_write, :H5Fstart_swmr_write, Herr, (Hid,), (:id,), "Error starting SWMR write"),
(:h5f_get_vfd_handle, :H5Fget_vfd_handle, Herr, (Hid, Hid, Ptr{Ptr{Cint}}), (:file_id, :fapl_id, :file_handle), "Error getting VFD handle"),
(:h5f_get_vfd_handle, :H5Fget_vfd_handle, Herr, (Hid, Hid, Ptr{Ptr{Cvoid}}), (:file_id, :fapl_id, :file_handle), "Error getting VFD handle"),
(:h5g_close, :H5Gclose, Herr, (Hid,), (:group_id,), "Error closing group"),
(:h5g_get_info, :H5Gget_info, Herr, (Hid, Ptr{H5Ginfo}), (:group_id, :buf), "Error getting group info"),
(:h5o_get_info, :H5Oget_info1, Herr, (Hid, Ptr{H5Oinfo}), (:object_id, :buf), "Error getting object info"),
Expand Down

0 comments on commit fb92df5

Please sign in to comment.