MCPcopy Create free account
hub / github.com/Snapchat/Valdi / getArena

Function getArena

valdi/src/valdi/runtime/JavaScript/Modules/ProtobufModule.cpp:70–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68}
69
70static ProtobufArenaAccess getArena(JSFunctionNativeCallContext& callContext, size_t index) {
71 return ProtobufArenaAccess(getArenaUnsafe(callContext, index));
72}
73
74static Ref<ProtobufMessageFactory> getMessageFactory(JSFunctionNativeCallContext& callContext, size_t index) {
75 return getNativeObject<ProtobufMessageFactory>(callContext, index, "message factory");

Callers 7

arenaCreateMessageMethod · 0.85
arenaDecodeMessageMethod · 0.85
arenaEncodeMessageMethod · 0.85
arenaSetMessageFieldMethod · 0.85
arenaGetMessageFieldsMethod · 0.85
arenaCopyMessageMethod · 0.85

Calls 2

ProtobufArenaAccessClass · 0.85
getArenaUnsafeFunction · 0.85

Tested by

no test coverage detected