| 149 | } // namespace SC |
| 150 | |
| 151 | int main(int argc, char** argv) |
| 152 | { |
| 153 | using namespace SC; |
| 154 | constexpr auto NumArgsMax = 10; |
| 155 | StringSpan args[NumArgsMax]; |
| 156 | for (int idx = 1; idx < min(argc, NumArgsMax); ++idx) |
| 157 | { |
| 158 | args[idx - 1] = StringSpan::fromNullTerminated(argv[idx], StringEncoding::Utf8); |
| 159 | } |
| 160 | return SC::saneMain({args, static_cast<size_t>(min(argc - 1, NumArgsMax))}) ? 0 : -1; |
| 161 | } |
nothing calls this directly
no test coverage detected