From bea0d0cf66fd3624c8b22eab63ff97066e44209d Mon Sep 17 00:00:00 2001 From: myd7349 Date: Wed, 16 Jun 2021 19:02:57 +0800 Subject: [PATCH] Fixed entry point of H5Iget_type_ref Rename H5Iget_type_ref to get_type_ref --- HDF5/H5Ipublic.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/HDF5/H5Ipublic.cs b/HDF5/H5Ipublic.cs index ccf4d78..75bc616 100644 --- a/HDF5/H5Ipublic.cs +++ b/HDF5/H5Ipublic.cs @@ -253,10 +253,10 @@ public extern static ssize_t get_name /// is to be retrieved /// Returns the current reference count on success, negative /// on failure. - [DllImport(Constants.DLLFileName, EntryPoint = "H5Iget_type", + [DllImport(Constants.DLLFileName, EntryPoint = "H5Iget_type_ref", CallingConvention = CallingConvention.Cdecl), SuppressUnmanagedCodeSecurity, SecuritySafeCritical] - public extern static int H5Iget_type_ref(type_t type); + public extern static int get_type_ref(type_t type); /// /// Increments the reference count for an object.