MCPcopy Index your code
hub / github.com/DreamSourceLab/DSView / set_option

Method set_option

DSView/pv/data/decode/decoder.cpp:58–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56}
57
58void Decoder::set_option(const char *id, GVariant *value)
59{
60 assert(value);
61 if (_options_back[id]) {
62 g_variant_unref(_options_back[id]);
63 }
64 g_variant_ref(value);
65 _options_back[id] = value;
66 _setted = true;
67}
68
69void Decoder::set_decode_region(uint64_t start, uint64_t end)
70{

Callers 2

load_decodersMethod · 0.80
setterMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected