MCPcopy Create free account
hub / github.com/defold/defold / EndsWithLocal

Function EndsWithLocal

engine/dlib/src/dlib/mdns.cpp:255–259  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

253 }
254
255 static bool EndsWithLocal(const char* value)
256 {
257 const char* last_dot = strrchr(value, '.');
258 return last_dot && dmStrCaseCmp(last_dot, ".local") == 0;
259 }
260
261 static bool IsDigit(char c)
262 {

Callers 1

BuildLocalNameFunction · 0.85

Calls 1

dmStrCaseCmpFunction · 0.85

Tested by

no test coverage detected