| 100 | #pragma GCC diagnostic pop |
| 101 | |
| 102 | inline void download(std::string const &filename, std::string const &mime_type, std::string_view buffer) { |
| 103 | /// C++ wrapper for javascript download call, accepting a string_view |
| 104 | download(filename.c_str(), mime_type.c_str(), buffer.data(), buffer.size()); |
| 105 | } |
| 106 | |
| 107 | namespace { |
| 108 |
no test coverage detected