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

Function dump_array_end

layersvt/api_dump.h:1454–1463  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1452
1453template <ApiDumpFormat Format>
1454void dump_array_end(const void *array, size_t len, const ApiDumpSettings &settings, int indents) {
1455 if constexpr (Format == ApiDumpFormat::Html) {
1456 dump_end<ApiDumpFormat::Html>(settings, OutputConstruct::api_struct, indents);
1457 } else if constexpr (Format == ApiDumpFormat::Json) {
1458 if (len > 0 && array != NULL) {
1459 dump_json_end_array(settings, indents + 1);
1460 }
1461 dump_json_end_object(settings, indents);
1462 }
1463}
1464
1465template <ApiDumpFormat Format, size_t N, typename T, typename DumpElement>
1466void dump_double_array(const T(array)[][N], size_t len1, size_t len2, const ApiDumpSettings &settings, const char *type_string,

Callers

nothing calls this directly

Calls 2

dump_json_end_arrayFunction · 0.85
dump_json_end_objectFunction · 0.85

Tested by

no test coverage detected