| 1452 | |
| 1453 | template <ApiDumpFormat Format> |
| 1454 | void 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 | |
| 1465 | template <ApiDumpFormat Format, size_t N, typename T, typename DumpElement> |
| 1466 | void dump_double_array(const T(array)[][N], size_t len1, size_t len2, const ApiDumpSettings &settings, const char *type_string, |
nothing calls this directly
no test coverage detected