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

Function FindBrowserService

engine/dlib/src/dlib/mdns.cpp:1745–1753  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1743 }
1744
1745 static int32_t FindBrowserService(dmArray<BrowserService>& services, const char* full_name)
1746 {
1747 for (uint32_t i = 0; i < services.Size(); ++i)
1748 {
1749 if (NameEquals(services[i].m_FullServiceName, full_name))
1750 return (int32_t) i;
1751 }
1752 return -1;
1753 }
1754
1755 static void EmitBrowserEvent(Browser* browser, const BrowserService& service, EventType event_type)
1756 {

Callers 1

HandleBrowserRecordFunction · 0.85

Calls 2

NameEqualsFunction · 0.85
SizeMethod · 0.45

Tested by

no test coverage detected