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.