MCPcopy Create free account
hub / github.com/Tencent/mars / _FillStdStrArray

Function _FillStdStrArray

mars/uwpproj/cs2runtime.cpp:80–88  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78}
79
80void _FillStdStrArray(vector<string> & outArray, const Platform::Array<Platform::String^>^ inArray)
81{
82 outArray.clear();
83 outArray.resize(inArray->Length);
84 for (size_t i = 0; i < inArray->Length; i++)
85 {
86 String2stdstring(outArray[i], inArray[i]);
87 }
88}
89
90void mars::StnComponent::SetLonglinkSvrAddr(Platform::String ^ host, const Platform::Array<uint16>^ ports)
91{

Callers 2

cs2runtime.cppFile · 0.85

Calls 2

clearMethod · 0.45
resizeMethod · 0.45

Tested by

no test coverage detected