diff options
author | Craig Tiller <ctiller@google.com> | 2015-02-12 14:58:38 -0800 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2015-02-12 14:58:38 -0800 |
commit | 869a8700f8dcb6c2730b51d7ad4dc93227798069 (patch) | |
tree | 02b5ff40868b11f5271b3d63239f2ae0be008dfb /src/csharp/GrpcCore/Internal/ChannelSafeHandle.cs | |
parent | d4ebeeb7fbd61031c9b3db013e07195f31013e89 (diff) | |
parent | 9b09d19484c21f72eb8f1b26ad1bd63715896ee7 (diff) |
Merge github.com:grpc/grpc into c++api
Diffstat (limited to 'src/csharp/GrpcCore/Internal/ChannelSafeHandle.cs')
-rw-r--r-- | src/csharp/GrpcCore/Internal/ChannelSafeHandle.cs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/csharp/GrpcCore/Internal/ChannelSafeHandle.cs b/src/csharp/GrpcCore/Internal/ChannelSafeHandle.cs index 0f38d63f98..6436f2bb31 100644 --- a/src/csharp/GrpcCore/Internal/ChannelSafeHandle.cs +++ b/src/csharp/GrpcCore/Internal/ChannelSafeHandle.cs @@ -10,11 +10,11 @@ namespace Google.GRPC.Core.Internal /// </summary> internal class ChannelSafeHandle : SafeHandleZeroIsInvalid { - [DllImport("grpc.dll")] - static extern ChannelSafeHandle grpc_channel_create(string target, IntPtr channelArgs); + [DllImport("grpc_csharp_ext.dll")] + static extern ChannelSafeHandle grpcsharp_channel_create(string target, IntPtr channelArgs); - [DllImport("grpc.dll")] - static extern void grpc_channel_destroy(IntPtr channel); + [DllImport("grpc_csharp_ext.dll")] + static extern void grpcsharp_channel_destroy(IntPtr channel); private ChannelSafeHandle() { @@ -22,12 +22,12 @@ namespace Google.GRPC.Core.Internal public static ChannelSafeHandle Create(string target, IntPtr channelArgs) { - return grpc_channel_create(target, channelArgs); + return grpcsharp_channel_create(target, channelArgs); } protected override bool ReleaseHandle() { - grpc_channel_destroy(handle); + grpcsharp_channel_destroy(handle); return true; } } |