diff options
author | Yash Tibrewal <yashkt@google.com> | 2019-01-04 13:54:14 -0800 |
---|---|---|
committer | Yash Tibrewal <yashkt@google.com> | 2019-01-04 13:54:14 -0800 |
commit | 6fc7adf2772507b0e3596ebf20c2cfaef589e52d (patch) | |
tree | e24523cba5502fb92437912cf11a82364649fefe /src/python/grpcio/grpc/_cython/_cygrpc/arguments.pxd.pxi | |
parent | a5ed3d245e448c1e0e0e28b93e5821aaa7a3e439 (diff) | |
parent | 89f7d619ef23e400e36f8906876a2633d943847e (diff) |
Merge branch 'master' into bidiinterceptiontest
Diffstat (limited to 'src/python/grpcio/grpc/_cython/_cygrpc/arguments.pxd.pxi')
-rw-r--r-- | src/python/grpcio/grpc/_cython/_cygrpc/arguments.pxd.pxi | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/src/python/grpcio/grpc/_cython/_cygrpc/arguments.pxd.pxi b/src/python/grpcio/grpc/_cython/_cygrpc/arguments.pxd.pxi index e0e068e452..01b8237484 100644 --- a/src/python/grpcio/grpc/_cython/_cygrpc/arguments.pxd.pxi +++ b/src/python/grpcio/grpc/_cython/_cygrpc/arguments.pxd.pxi @@ -28,19 +28,22 @@ cdef tuple _wrap_grpc_arg(grpc_arg arg) cdef grpc_arg _unwrap_grpc_arg(tuple wrapped_arg) -cdef class _ArgumentProcessor: +cdef class _ChannelArg: cdef grpc_arg c_argument cdef void c(self, argument, grpc_arg_pointer_vtable *vtable, references) except * -cdef class _ArgumentsProcessor: +cdef class _ChannelArgs: cdef readonly tuple _arguments - cdef list _argument_processors + cdef list _channel_args cdef readonly list _references cdef grpc_channel_args _c_arguments - cdef grpc_channel_args *c(self, grpc_arg_pointer_vtable *vtable) except * - cdef un_c(self) + cdef void _c(self, grpc_arg_pointer_vtable *vtable) except * + cdef grpc_channel_args *c_args(self) except * + + @staticmethod + cdef _ChannelArgs from_args(object arguments, grpc_arg_pointer_vtable * vtable) |