diff options
author | Jan Kotas <jkotas@microsoft.com> | 2016-01-10 01:56:42 +0300 |
---|---|---|
committer | Jan Kotas <jkotas@microsoft.com> | 2016-01-10 02:00:42 +0300 |
commit | 9473153608f9c94e20fc667625c4171e5ef69e15 (patch) | |
tree | c5e8db32eeb5417b4443a59eaaa2ee1b164d2eb9 /src/System.Private.Interop | |
parent | 770d16438a6fba4bfa96d4a86f557f61ef2427ae (diff) |
Unique names for CoreLibNative
CoreRT side of https://github.com/dotnet/corefx/issues/4818
Diffstat (limited to 'src/System.Private.Interop')
-rw-r--r-- | src/System.Private.Interop/src/Interop/Interop.Memory.Unix.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/System.Private.Interop/src/Interop/Interop.Memory.Unix.cs b/src/System.Private.Interop/src/Interop/Interop.Memory.Unix.cs index 16cd719a7..d63597504 100644 --- a/src/System.Private.Interop/src/Interop/Interop.Memory.Unix.cs +++ b/src/System.Private.Interop/src/Interop/Interop.Memory.Unix.cs @@ -9,19 +9,19 @@ namespace System.Runtime.InteropServices { internal static class Libraries { - internal const string SystemPrivateCoreLibNative = "System.Private.CoreLib.Native"; + internal const string CoreLibNative = "System.Private.CoreLib.Native"; } [CLSCompliant(false)] public partial class ExternalInterop { - [DllImport(Libraries.SystemPrivateCoreLibNative)] + [DllImport(Libraries.CoreLibNative, EntryPoint = "CoreLibNative_MemAlloc")] internal static unsafe extern IntPtr MemAlloc(UIntPtr sizeInBytes); - [DllImport(Libraries.SystemPrivateCoreLibNative)] + [DllImport(Libraries.CoreLibNative, EntryPoint = "CoreLibNative_MemFree")] internal static unsafe extern void MemFree(IntPtr ptr); - [DllImport(Libraries.SystemPrivateCoreLibNative)] + [DllImport(Libraries.CoreLibNative, EntryPoint = "CoreLibNative_MemReAlloc")] internal static unsafe extern IntPtr MemReAlloc(IntPtr ptr, UIntPtr newSize); } } |