MCPcopy Create free account
hub / github.com/Kitware/CMake / CommandLineArguments

Method CommandLineArguments

Source/kwsys/EncodingCXX.cxx:62–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60}
61
62Encoding::CommandLineArguments::CommandLineArguments(int ac,
63 char const* const* av)
64{
65 this->argv_.resize(ac + 1);
66 for (int i = 0; i < ac; i++) {
67 this->argv_[i] = strdup(av[i]);
68 }
69 this->argv_[ac] = nullptr;
70}
71
72Encoding::CommandLineArguments::CommandLineArguments(int ac,
73 wchar_t const* const* av)

Callers

nothing calls this directly

Calls 3

resizeMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected