| 467 | } |
| 468 | |
| 469 | inline skr::stl_u8string join(const skr::Vector<skr::stl_u8string_view>& tokens, const skr::stl_u8string_view& delimiters = u8" ") |
| 470 | { |
| 471 | skr::stl_u8string s; |
| 472 | for (auto& token : tokens) |
| 473 | { |
| 474 | if (!s.empty()) |
| 475 | s.insert(s.end(), delimiters.begin(), delimiters.end()); |
| 476 | s.insert(s.end(), token.begin(), token.end()); |
| 477 | } |
| 478 | return s; |
| 479 | } |
| 480 | |
| 481 | template<int level> |
| 482 | int skr_lua_log(lua_State* L) |
no test coverage detected