MCPcopy Create free account
hub / github.com/LunarG/VulkanTools / ReadIntValue

Function ReadIntValue

vkconfig_core/json.cpp:120–126  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

118}
119
120int ReadIntValue(const QJsonObject& json_object, const char* key) {
121 const QJsonValue& json_value = json_object.value(key);
122 assert(json_value != QJsonValue::Undefined);
123 assert(!json_value.isArray());
124 assert(!json_value.isString());
125 return json_value.toInt();
126}
127
128float ReadFloatValue(const QJsonObject& json_object, const char* key) {
129 const QJsonValue& json_value = json_object.value(key);

Callers 3

LoadMethod · 0.85
LoadMethod · 0.85
TESTFunction · 0.85

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.68