MCPcopy Create free account
hub / github.com/cztomczak/cefpython / compare

Method compare

src/include/internal/cef_string_wrappers.h:399–407  ·  view source on GitHub ↗

Compare this string to the specified string.

Source from the content-addressed store, hash-verified

397 // Compare this string to the specified string.
398 ///
399 int compare(const CefStringBase& str) const {
400 if (empty() && str.empty())
401 return 0;
402 if (empty())
403 return -1;
404 if (str.empty())
405 return 1;
406 return traits::compare(string_, str.GetStruct());
407 }
408
409 ///
410 // Clear the string data.

Callers

nothing calls this directly

Calls 2

GetStructMethod · 0.80
emptyMethod · 0.45

Tested by

no test coverage detected