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

Method ParseEnvVar

Libraries/unrar/cmddata.cpp:174–183  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

172
173#if !defined(SFX_MODULE)
174void CommandData::ParseEnvVar()
175{
176 char *EnvStr=getenv("RAR");
177 if (EnvStr!=NULL)
178 {
179 Array<wchar> EnvStrW(strlen(EnvStr)+1);
180 CharToWide(EnvStr,&EnvStrW[0],EnvStrW.Size());
181 ProcessSwitchesString(&EnvStrW[0]);
182 }
183}
184#endif
185
186

Callers 1

mainFunction · 0.80

Calls 2

CharToWideFunction · 0.85
SizeMethod · 0.45

Tested by

no test coverage detected