Functions
protobuf/ruby/ext/google/protobuf_c/convert.c File Reference
#include "convert.h"
#include "message.h"
#include "protobuf.h"
Include dependency graph for protobuf/ruby/ext/google/protobuf_c/convert.c:

Go to the source code of this file.

Functions

static void Convert_CheckInt (const char *name, upb_fieldtype_t type, VALUE val)
 
upb_msgval Convert_RubyToUpb (VALUE value, const char *name, TypeInfo type_info, upb_arena *arena)
 
static upb_strview Convert_StringData (VALUE str, upb_arena *arena)
 
static int32_t Convert_ToEnum (VALUE value, const char *name, const upb_enumdef *e)
 
VALUE Convert_UpbToRuby (upb_msgval upb_val, TypeInfo type_info, VALUE arena)
 
static bool is_ruby_num (VALUE value)
 
upb_msgval Msgval_DeepCopy (upb_msgval msgval, TypeInfo type_info, upb_arena *arena)
 
uint64_t Msgval_GetHash (upb_msgval val, TypeInfo type_info, uint64_t seed)
 
bool Msgval_IsEqual (upb_msgval val1, upb_msgval val2, TypeInfo type_info)
 

Function Documentation

◆ Convert_CheckInt()

static void Convert_CheckInt ( const char *  name,
upb_fieldtype_t  type,
VALUE  val 
)
static

◆ Convert_RubyToUpb()

upb_msgval Convert_RubyToUpb ( VALUE  value,
const char *  name,
TypeInfo  type_info,
upb_arena arena 
)

◆ Convert_StringData()

static upb_strview Convert_StringData ( VALUE  str,
upb_arena arena 
)
static

◆ Convert_ToEnum()

static int32_t Convert_ToEnum ( VALUE  value,
const char *  name,
const upb_enumdef e 
)
static

◆ Convert_UpbToRuby()

VALUE Convert_UpbToRuby ( upb_msgval  upb_val,
TypeInfo  type_info,
VALUE  arena 
)

◆ is_ruby_num()

static bool is_ruby_num ( VALUE  value)
static

◆ Msgval_DeepCopy()

upb_msgval Msgval_DeepCopy ( upb_msgval  msgval,
TypeInfo  type_info,
upb_arena arena 
)

◆ Msgval_GetHash()

uint64_t Msgval_GetHash ( upb_msgval  val,
TypeInfo  type_info,
uint64_t  seed 
)

◆ Msgval_IsEqual()

bool Msgval_IsEqual ( upb_msgval  val1,
upb_msgval  val2,
TypeInfo  type_info 
)


grpc
Author(s):
autogenerated on Fri May 16 2025 03:01:08