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

Function GetResourcesPath

engine/dlib/src/dlib/sys_posix.cpp:59–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57 }
58
59 dmSys::Result GetResourcesPath(int argc, char* argv[], char* path, uint32_t path_len)
60 {
61 assert(path_len > 0);
62 path[0] = '\0';
63 dmPath::Dirname(argv[0], path, path_len);
64 return dmSys::RESULT_OK;
65 }
66
67 dmSys::Result GetLogPath(char* path, uint32_t path_len)
68 {

Callers

nothing calls this directly

Calls 2

DirnameFunction · 0.85
assertFunction · 0.50

Tested by

no test coverage detected