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

Function CmpMSGID

Libraries/unrar/cmdmix.cpp:39–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37
38
39inline bool CmpMSGID(MSGID i1,MSGID i2)
40{
41#ifdef MSGID_INT
42 return i1==i2;
43#else
44 // If MSGID is const char*, we cannot compare pointers only.
45 // Pointers to different instances of same string can differ,
46 // so we need to compare complete strings.
47 return wcscmp(i1,i2)==0;
48#endif
49}
50
51void CommandData::OutHelp(RAR_EXIT ExitCode)
52{

Callers 1

OutHelpMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected