MCPcopy Create free account
hub / github.com/abbeycode/UnrarKit / GetWide

Function GetWide

Libraries/unrar/strfn.cpp:382–393  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

380
381
382const wchar* GetWide(const char *Src)
383{
384 const size_t MaxLength=NM;
385 static wchar StrTable[4][MaxLength];
386 static uint StrNum=0;
387 if (++StrNum >= ASIZE(StrTable))
388 StrNum=0;
389 wchar *Str=StrTable[StrNum];
390 CharToWide(Src,Str,MaxLength);
391 Str[MaxLength-1]=0;
392 return Str;
393}
394
395
396// Parse string containing parameters separated with spaces.

Callers 4

ExtractUnixOwner20Function · 0.85
ExtractUnixOwner30Function · 0.85
SetUnixOwnerFunction · 0.85
ListFileHeaderFunction · 0.85

Calls 1

CharToWideFunction · 0.85

Tested by

no test coverage detected