| 82 | } |
| 83 | |
| 84 | std::string escape_string(std::string &str) |
| 85 | { |
| 86 | std::string result(str); |
| 87 | glua::util::replace_all(result, "\\", "\\\\"); |
| 88 | glua::util::replace_all(result, "\"", "\\\""); |
| 89 | return result; |
| 90 | } |
| 91 | |
| 92 | std::vector<std::string> &string_split(const std::string &s, char delim, std::vector<std::string> &elems) |
| 93 | { |
no test coverage detected