MCPcopy Create free account
hub / github.com/SoarGroup/Soar / IsStringEqual

Function IsStringEqual

IDE Projects/include/sml_StringOps.h:26–34  ·  view source on GitHub ↗

* @brief Returns true if strings are equal (case sensitive). *************************************************************/

Source from the content-addressed store, hash-verified

24 * @brief Returns true if strings are equal (case sensitive).
25 *************************************************************/
26 inline bool IsStringEqual(char const* pStr1, char const* pStr2)
27 {
28 if (pStr1 == NULL || pStr2 == NULL)
29 {
30 return false ;
31 }
32
33 return strcmp(pStr1, pStr2) == 0 ;
34 }
35
36 /*************************************************************
37 * @brief Returns true if strings are equal (case insensitive).

Callers 3

IsCallMethod · 0.70
IsResponseMethod · 0.70
IsNotifyMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected