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

Method setInt32

valdi_protobuf/src/valdi_protobuf/Field.cpp:431–433  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

429}
430
431void Field::setInt32(int32_t v) {
432 setVarint(static_cast<uint64_t>(v));
433}
434
435int32_t Field::getSInt32() const {
436 switch (_type) {

Callers 5

TESTFunction · 0.80
TEST_FFunction · 0.80
TESTFunction · 0.80

Calls

no outgoing calls

Tested by 3

TESTFunction · 0.64
TEST_FFunction · 0.64
TESTFunction · 0.64