#include <ruby/ruby.h>
#include <ruby/vm.h>
#include <ruby/encoding.h>
#include "ruby-upb.h"
#include "defs.h"
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_arena * | Arena_get (VALUE arena) |
VALUE | Arena_new () |
void | Arena_Pin (VALUE arena, VALUE obj) |
const upb_fielddef * | map_field_key (const upb_fielddef *field) |
const upb_fielddef * | map_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) |
StringBuilder * | StringBuilder_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 |
#define PBRUBY_ASSERT | ( | expr | ) | assert(expr) |
Definition at line 110 of file protobuf/ruby/ext/google/protobuf_c/protobuf.h.
Definition at line 113 of file protobuf/ruby/ext/google/protobuf_c/protobuf.h.
#define UPB_UNUSED | ( | var | ) | (void)var |
Definition at line 115 of file protobuf/ruby/ext/google/protobuf_c/protobuf.h.
typedef struct StringBuilder StringBuilder |
Definition at line 92 of file protobuf/ruby/ext/google/protobuf_c/protobuf.h.
void Arena_fuse | ( | VALUE | arena, |
upb_arena * | other | ||
) |
Definition at line 207 of file protobuf/ruby/ext/google/protobuf_c/protobuf.c.
upb_arena* Arena_get | ( | VALUE | arena | ) |
Definition at line 201 of file protobuf/ruby/ext/google/protobuf_c/protobuf.c.
VALUE Arena_new | ( | ) |
Definition at line 217 of file protobuf/ruby/ext/google/protobuf_c/protobuf.c.
void Arena_Pin | ( | VALUE | arena, |
VALUE | obj | ||
) |
Definition at line 221 of file protobuf/ruby/ext/google/protobuf_c/protobuf.c.
const upb_fielddef* map_field_key | ( | const upb_fielddef * | field | ) |
Definition at line 530 of file php/ext/google/protobuf/storage.c.
const upb_fielddef* map_field_value | ( | const upb_fielddef * | field | ) |
Definition at line 535 of file php/ext/google/protobuf/storage.c.
void ObjectCache_Add | ( | const void * | key, |
VALUE | val | ||
) |
Definition at line 383 of file protobuf/ruby/ext/google/protobuf_c/protobuf.c.
VALUE ObjectCache_Get | ( | const void * | key | ) |
Definition at line 397 of file protobuf/ruby/ext/google/protobuf_c/protobuf.c.
void StringBuilder_Free | ( | StringBuilder * | b | ) |
Definition at line 78 of file protobuf/ruby/ext/google/protobuf_c/protobuf.c.
StringBuilder* StringBuilder_New | ( | ) |
Definition at line 69 of file protobuf/ruby/ext/google/protobuf_c/protobuf.c.
void StringBuilder_Printf | ( | StringBuilder * | b, |
const char * | fmt, | ||
... | |||
) |
Definition at line 83 of file protobuf/ruby/ext/google/protobuf_c/protobuf.c.
void StringBuilder_PrintMsgval | ( | StringBuilder * | b, |
upb_msgval | val, | ||
TypeInfo | info | ||
) |
Definition at line 123 of file protobuf/ruby/ext/google/protobuf_c/protobuf.c.
VALUE StringBuilder_ToRubyString | ( | StringBuilder * | b | ) |
Definition at line 107 of file protobuf/ruby/ext/google/protobuf_c/protobuf.c.
VALUE cTypeError |
Definition at line 35 of file bloaty/third_party/protobuf/ruby/ext/google/protobuf_c/protobuf.c.