MCPcopy Create free account
hub / github.com/MarlinFirmware/Marlin / empty

Method empty

Marlin/src/core/mstring.h:278–278  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

276 int length() const { return strlen(str); }
277 int glyphs() { return utf8_strlen(str); }
278 bool empty() { return !str[0]; }
279
280 // Quick hash to detect change (e.g., to avoid expensive drawing)
281 typedef IF<ENABLED(DJB2_HASH), uint32_t, uint16_t>::type hash_t;

Callers 10

has_statusMethod · 0.45
event_handlerFunction · 0.45
meshLevelMethod · 0.45
handleManualMoveMethod · 0.45
filamentLoadUnloadMethod · 0.45
bootstrap.min.jsFile · 0.45
webmarlin.jsFile · 0.45
ResetSdFileCountersFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected