#include "protobuf.h"
#include <ruby/version.h>
#include "defs.h"
#include "map.h"
#include "message.h"
#include "repeated_field.h"
Go to the source code of this file.
|
| | __attribute__ ((visibility("default"))) |
| |
| static VALUE | Arena_alloc (VALUE klass) |
| |
| static void | Arena_free (void *data) |
| |
| void | Arena_fuse (VALUE _arena, upb_arena *other) |
| |
| upb_arena * | Arena_get (VALUE _arena) |
| |
| static void | Arena_mark (void *data) |
| |
| VALUE | Arena_new () |
| |
| void | Arena_Pin (VALUE _arena, VALUE obj) |
| |
| void | Arena_register (VALUE module) |
| |
| VALUE | Google_Protobuf_deep_copy (VALUE self, VALUE obj) |
| |
| static VALUE | Google_Protobuf_discard_unknown (VALUE self, VALUE msg_rb) |
| |
| 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) |
| |
| static VALUE | ObjectCache_GetKey (const void *key, bool create) |
| |
| static void | ObjectCache_Init () |
| |
| static VALUE | SecondaryMap_Get (VALUE key, bool create) |
| |
| static void | SecondaryMap_Init () |
| |
| static void | SecondaryMap_MaybeGC () |
| |
| void | StringBuilder_Free (StringBuilder *b) |
| |
| StringBuilder * | StringBuilder_New () |
| |
| static void | StringBuilder_PrintEnum (StringBuilder *b, int32_t val, const upb_enumdef *e) |
| |
| void | StringBuilder_Printf (StringBuilder *b, const char *fmt,...) |
| |
| void | StringBuilder_PrintMsgval (StringBuilder *b, upb_msgval val, TypeInfo info) |
| |
| static size_t | StringBuilder_SizeOf (size_t cap) |
| |
| VALUE | StringBuilder_ToRubyString (StringBuilder *b) |
| |
◆ USE_SECONDARY_MAP
| #define USE_SECONDARY_MAP 1 |
◆ StringBuilder
◆ __attribute__()
| __attribute__ |
( |
(visibility("default")) |
| ) |
|
◆ Arena_alloc()
| static VALUE Arena_alloc |
( |
VALUE |
klass | ) |
|
|
static |
◆ Arena_free()
| static void Arena_free |
( |
void * |
data | ) |
|
|
static |
◆ Arena_fuse()
| void Arena_fuse |
( |
VALUE |
_arena, |
|
|
upb_arena * |
other |
|
) |
| |
◆ Arena_get()
◆ Arena_mark()
| static void Arena_mark |
( |
void * |
data | ) |
|
|
static |
◆ Arena_new()
◆ Arena_Pin()
| void Arena_Pin |
( |
VALUE |
_arena, |
|
|
VALUE |
obj |
|
) |
| |
◆ Arena_register()
| void Arena_register |
( |
VALUE |
module | ) |
|
◆ Google_Protobuf_deep_copy()
| VALUE Google_Protobuf_deep_copy |
( |
VALUE |
self, |
|
|
VALUE |
obj |
|
) |
| |
◆ Google_Protobuf_discard_unknown()
| static VALUE Google_Protobuf_discard_unknown |
( |
VALUE |
self, |
|
|
VALUE |
msg_rb |
|
) |
| |
|
static |
◆ map_field_key()
◆ map_field_value()
◆ ObjectCache_Add()
| void ObjectCache_Add |
( |
const void * |
key, |
|
|
VALUE |
val |
|
) |
| |
◆ ObjectCache_Get()
| VALUE ObjectCache_Get |
( |
const void * |
key | ) |
|
◆ ObjectCache_GetKey()
| static VALUE ObjectCache_GetKey |
( |
const void * |
key, |
|
|
bool |
create |
|
) |
| |
|
static |
◆ ObjectCache_Init()
| static void ObjectCache_Init |
( |
| ) |
|
|
static |
◆ SecondaryMap_Get()
| static VALUE SecondaryMap_Get |
( |
VALUE |
key, |
|
|
bool |
create |
|
) |
| |
|
static |
◆ SecondaryMap_Init()
| static void SecondaryMap_Init |
( |
| ) |
|
|
static |
◆ SecondaryMap_MaybeGC()
| static void SecondaryMap_MaybeGC |
( |
| ) |
|
|
static |
◆ StringBuilder_Free()
◆ StringBuilder_New()
◆ StringBuilder_PrintEnum()
◆ StringBuilder_Printf()
◆ StringBuilder_PrintMsgval()
◆ StringBuilder_SizeOf()
| static size_t StringBuilder_SizeOf |
( |
size_t |
cap | ) |
|
|
static |
◆ StringBuilder_ToRubyString()
◆ Arena_type
| const rb_data_type_t Arena_type |
◆ cArena
◆ cParseError
◆ cTypeError
◆ gc_secondary_map_lambda
| VALUE gc_secondary_map_lambda = Qnil |
◆ item_get
◆ item_set
◆ length
◆ secondary_map
| VALUE secondary_map = Qnil |
◆ secondary_map_mutex
| VALUE secondary_map_mutex = Qnil |
◆ weak_obj_cache
| VALUE weak_obj_cache = Qnil |