diff options
Diffstat (limited to 'src/csharp/GrpcCore/Internal')
-rw-r--r-- | src/csharp/GrpcCore/Internal/Timespec.cs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/csharp/GrpcCore/Internal/Timespec.cs b/src/csharp/GrpcCore/Internal/Timespec.cs index d874691172..c069829d8c 100644 --- a/src/csharp/GrpcCore/Internal/Timespec.cs +++ b/src/csharp/GrpcCore/Internal/Timespec.cs @@ -46,6 +46,14 @@ namespace Google.GRPC.Core.Internal } } + internal static int NativeSize + { + get + { + return gprsharp_sizeof_timespec(); + } + } + /// <summary> /// Creates a GPR deadline from current instant and given timeout. /// </summary> |