diff options
author | 2018-07-30 22:24:36 -0700 | |
---|---|---|
committer | 2018-07-30 22:24:36 -0700 | |
commit | fbfebd8e4e92067145127e23bbdbe3d596234634 (patch) | |
tree | 551e30f8522cdd9c9ec9651cc38af6eec100c549 /src/python/grpcio/grpc/_cython/_cygrpc/arguments.pxd.pxi | |
parent | 682d093868a2b7ba7b139d22eb7096cec78a9979 (diff) |
Add Cython functionality to directly wrap grpc_arg
Diffstat (limited to 'src/python/grpcio/grpc/_cython/_cygrpc/arguments.pxd.pxi')
-rw-r--r-- | src/python/grpcio/grpc/_cython/_cygrpc/arguments.pxd.pxi | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/python/grpcio/grpc/_cython/_cygrpc/arguments.pxd.pxi b/src/python/grpcio/grpc/_cython/_cygrpc/arguments.pxd.pxi index 853bf6f8e0..f5baf8db3f 100644 --- a/src/python/grpcio/grpc/_cython/_cygrpc/arguments.pxd.pxi +++ b/src/python/grpcio/grpc/_cython/_cygrpc/arguments.pxd.pxi @@ -1,4 +1,4 @@ -# Copyright 2018 gRPC authors. +# Copyright 2018 The gRPC Authors # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -22,6 +22,9 @@ cdef void _destroy_pointer(void* pointer) cdef int _compare_pointer(void* first_pointer, void* second_pointer) +cdef tuple _wrap_grpc_arg(grpc_arg arg) + + cdef class _ArgumentProcessor: cdef grpc_arg c_argument |