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

Function ExtractURL

engine/script/src/test/test_script_msg.cpp:221–229  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

219}
220
221static void ExtractURL(const dmMessage::StringURL& url, char* socket, char* path, char* fragment)
222{
223 memcpy(socket, url.m_Socket, url.m_SocketSize);
224 socket[url.m_SocketSize] = 0;
225 memcpy(path, url.m_Path, url.m_PathSize);
226 path[url.m_PathSize] = 0;
227 memcpy(fragment, url.m_Fragment, url.m_FragmentSize);
228 fragment[url.m_FragmentSize] = 0;
229}
230
231TEST_F(ScriptMsgTest, ResolveURL)
232{

Callers 1

TEST_FFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected