Sha256: 0b0a8c4674bda45ed7bd3262e8cfbb86cad281f9bc5f7303e64e7a5b4959e199

Contents?: true

Size: 1.28 KB

Versions: 748

Compression:

Stored size: 1.28 KB

Contents

/*
 *
 * Copyright 2015 gRPC authors.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 */

#ifndef GRPC_RB_CHANNEL_ARGS_H_
#define GRPC_RB_CHANNEL_ARGS_H_

#include <ruby/ruby.h>

#include <grpc/grpc.h>

/* Converts a hash object containing channel args to a channel args instance.
 *
 * This func ALLOCs args->args.  The caller is responsible for freeing it.  If
 * a ruby error is raised during processing of the hash values, the func takes
 * care to deallocate any memory allocated so far, and propagate the error.
 *
 * @param src_hash A ruby hash
 * @param dst the grpc_channel_args that the hash entries will be added to.
 */
void grpc_rb_hash_convert_to_channel_args(VALUE src_hash,
                                          grpc_channel_args* dst);

#endif /* GRPC_RB_CHANNEL_ARGS_H_ */

Version data entries

748 entries across 748 versions & 6 rubygems

Version Path
grpc-1.54.3-x64-mingw-ucrt src/ruby/ext/grpc/rb_channel_args.h
grpc-1.54.3-x86-linux src/ruby/ext/grpc/rb_channel_args.h
grpc-1.54.3-x86_64-darwin src/ruby/ext/grpc/rb_channel_args.h
grpc-1.54.3-x86_64-linux src/ruby/ext/grpc/rb_channel_args.h
grpc-1.54.3-x64-mingw32 src/ruby/ext/grpc/rb_channel_args.h
grpc-1.54.3-x86-mingw32 src/ruby/ext/grpc/rb_channel_args.h
grpc-1.54.3 src/ruby/ext/grpc/rb_channel_args.h
grpc-1.53.2-x86-linux src/ruby/ext/grpc/rb_channel_args.h
grpc-1.53.2 src/ruby/ext/grpc/rb_channel_args.h
grpc-1.53.2-x86_64-darwin src/ruby/ext/grpc/rb_channel_args.h
grpc-1.53.2-x64-mingw32 src/ruby/ext/grpc/rb_channel_args.h
grpc-1.53.2-x64-mingw-ucrt src/ruby/ext/grpc/rb_channel_args.h
grpc-1.53.2-x86_64-linux src/ruby/ext/grpc/rb_channel_args.h
grpc-1.53.2-x86-mingw32 src/ruby/ext/grpc/rb_channel_args.h
grpc-1.55.3-x86_64-darwin src/ruby/ext/grpc/rb_channel_args.h
grpc-1.55.3-x86-mingw32 src/ruby/ext/grpc/rb_channel_args.h
grpc-1.55.3-x86_64-linux src/ruby/ext/grpc/rb_channel_args.h
grpc-1.55.3-x64-mingw-ucrt src/ruby/ext/grpc/rb_channel_args.h
grpc-1.55.3 src/ruby/ext/grpc/rb_channel_args.h
grpc-1.55.3-x86-linux src/ruby/ext/grpc/rb_channel_args.h