Classes | Functions | Variables
defs.h File Reference
#include <ruby/ruby.h>
#include "protobuf.h"
#include "ruby-upb.h"
Include dependency graph for defs.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  TypeInfo
 

Functions

void Defs_register (VALUE module)
 
VALUE Descriptor_DefToClass (const upb_msgdef *m)
 
const upb_msgdefDescriptor_GetMsgDef (VALUE desc_rb)
 
const upb_symtabDescriptorPool_GetSymtab (VALUE desc_pool_rb)
 
const upb_enumdefEnumDescriptor_GetEnumDef (VALUE enum_desc_rb)
 
upb_fieldtype_t ruby_to_fieldtype (VALUE type)
 
static TypeInfo TypeInfo_from_type (upb_fieldtype_t type)
 
TypeInfo TypeInfo_FromClass (int argc, VALUE *argv, int skip_arg, VALUE *type_class, VALUE *init_arg)
 
static TypeInfo TypeInfo_get (const upb_fielddef *f)
 

Variables

VALUE generated_pool
 

Function Documentation

◆ Defs_register()

void Defs_register ( VALUE  module)

Definition at line 1274 of file protobuf/ruby/ext/google/protobuf_c/defs.c.

◆ Descriptor_DefToClass()

VALUE Descriptor_DefToClass ( const upb_msgdef m)

Definition at line 1213 of file protobuf/ruby/ext/google/protobuf_c/defs.c.

◆ Descriptor_GetMsgDef()

const upb_msgdef* Descriptor_GetMsgDef ( VALUE  desc_rb)

Definition at line 1222 of file protobuf/ruby/ext/google/protobuf_c/defs.c.

◆ DescriptorPool_GetSymtab()

const upb_symtab* DescriptorPool_GetSymtab ( VALUE  desc_pool_rb)

Definition at line 110 of file protobuf/ruby/ext/google/protobuf_c/defs.c.

◆ EnumDescriptor_GetEnumDef()

const upb_enumdef* EnumDescriptor_GetEnumDef ( VALUE  enum_desc_rb)

Definition at line 1029 of file protobuf/ruby/ext/google/protobuf_c/defs.c.

◆ ruby_to_fieldtype()

upb_fieldtype_t ruby_to_fieldtype ( VALUE  type)

◆ TypeInfo_from_type()

static TypeInfo TypeInfo_from_type ( upb_fieldtype_t  type)
inlinestatic

Definition at line 79 of file defs.h.

◆ TypeInfo_FromClass()

TypeInfo TypeInfo_FromClass ( int  argc,
VALUE *  argv,
int  skip_arg,
VALUE *  type_class,
VALUE *  init_arg 
)

Definition at line 1238 of file protobuf/ruby/ext/google/protobuf_c/defs.c.

◆ TypeInfo_get()

static TypeInfo TypeInfo_get ( const upb_fielddef f)
inlinestatic

Definition at line 61 of file defs.h.

Variable Documentation

◆ generated_pool

VALUE generated_pool


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