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

Go to the source code of this file.

Macros

#define PBRUBY_ASSERT(expr)   assert(expr)
 
#define PBRUBY_MAX(x, y)   (((x) > (y)) ? (x) : (y))
 
#define UPB_UNUSED(var)   (void)var
 

Typedefs

typedef struct StringBuilder StringBuilder
 

Functions

void Arena_fuse (VALUE arena, upb_arena *other)
 
upb_arenaArena_get (VALUE arena)
 
VALUE Arena_new ()
 
void Arena_Pin (VALUE arena, VALUE obj)
 
const upb_fielddefmap_field_key (const upb_fielddef *field)
 
const upb_fielddefmap_field_value (const upb_fielddef *field)
 
void ObjectCache_Add (const void *key, VALUE val)
 
VALUE ObjectCache_Get (const void *key)
 
void StringBuilder_Free (StringBuilder *b)
 
StringBuilderStringBuilder_New ()
 
void StringBuilder_Printf (StringBuilder *b, const char *fmt,...)
 
void StringBuilder_PrintMsgval (StringBuilder *b, upb_msgval val, TypeInfo info)
 
VALUE StringBuilder_ToRubyString (StringBuilder *b)
 

Variables

VALUE cTypeError
 

Macro Definition Documentation

◆ PBRUBY_ASSERT

#define PBRUBY_ASSERT (   expr)    assert(expr)

◆ PBRUBY_MAX

#define PBRUBY_MAX (   x,
  y 
)    (((x) > (y)) ? (x) : (y))

◆ UPB_UNUSED

#define UPB_UNUSED (   var)    (void)var

Typedef Documentation

◆ StringBuilder

typedef struct StringBuilder StringBuilder

Function Documentation

◆ Arena_fuse()

void Arena_fuse ( VALUE  arena,
upb_arena other 
)

◆ Arena_get()

upb_arena* Arena_get ( VALUE  arena)

◆ Arena_new()

VALUE Arena_new ( )

◆ Arena_Pin()

void Arena_Pin ( VALUE  arena,
VALUE  obj 
)

◆ map_field_key()

const upb_fielddef* map_field_key ( const upb_fielddef field)

Definition at line 530 of file php/ext/google/protobuf/storage.c.

◆ map_field_value()

const upb_fielddef* map_field_value ( const upb_fielddef field)

Definition at line 535 of file php/ext/google/protobuf/storage.c.

◆ ObjectCache_Add()

void ObjectCache_Add ( const void *  key,
VALUE  val 
)

◆ ObjectCache_Get()

VALUE ObjectCache_Get ( const void *  key)

◆ StringBuilder_Free()

void StringBuilder_Free ( StringBuilder b)

◆ StringBuilder_New()

StringBuilder* StringBuilder_New ( )

◆ StringBuilder_Printf()

void StringBuilder_Printf ( StringBuilder b,
const char *  fmt,
  ... 
)

◆ StringBuilder_PrintMsgval()

void StringBuilder_PrintMsgval ( StringBuilder b,
upb_msgval  val,
TypeInfo  info 
)

◆ StringBuilder_ToRubyString()

VALUE StringBuilder_ToRubyString ( StringBuilder b)

Variable Documentation

◆ cTypeError

VALUE cTypeError


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