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

Method ref

valdi_protobuf/src/valdi_protobuf/Field.cpp:863–867  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

861}
862
863Field Field::ref(RefCountable* ref) {
864 Field::FieldStorage storage;
865 storage.ref = unsafeRetain(ref);
866 return Field(storage, InternalType::Ref, 0);
867}
868
869Field Field::message(const Ref<Message>& message) {
870 return ref(message.get());

Callers 1

appendPictureMethod · 0.80

Calls 2

unsafeRetainFunction · 0.85
FieldClass · 0.70

Tested by

no test coverage detected