Skip to content

Commit

Permalink
Update variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
imnasnainaec committed Mar 25, 2024
1 parent cd09c9a commit c283116
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions source/icu.net/NativeMethods/NativeMethods.cs
Original file line number Diff line number Diff line change
Expand Up @@ -104,18 +104,18 @@ private static string dlerror()

#region Native methods for Mac

private const string DLFCN_NAME = "libdl.dylib";
private const string LIBDL_MAC_NAME = "libdl.dylib";

[DllImport(DLFCN_NAME, EntryPoint = "dlopen", SetLastError = true)]
[DllImport(LIBDL_MAC_NAME, EntryPoint = "dlopen", SetLastError = true)]
private static extern IntPtr dlopen_mac(string file, int mode);

[DllImport(DLFCN_NAME, EntryPoint = "dlclose", SetLastError = true)]
[DllImport(LIBDL_MAC_NAME, EntryPoint = "dlclose", SetLastError = true)]
private static extern int dlclose_mac(IntPtr handle);

[DllImport(DLFCN_NAME, EntryPoint = "dlsym", SetLastError = true)]
[DllImport(LIBDL_MAC_NAME, EntryPoint = "dlsym", SetLastError = true)]
private static extern IntPtr dlsym_mac(IntPtr handle, string name);

[DllImport(DLFCN_NAME, EntryPoint = "dlerror")]
[DllImport(LIBDL_MAC_NAME, EntryPoint = "dlerror")]
private static extern IntPtr _dlerror_mac();

private static string dlerror_mac()
Expand Down

0 comments on commit c283116

Please sign in to comment.