MCPcopy Create free account
hub / github.com/crownengine/crown / exe_path

Method exe_path

src/resource/compile_options.cpp:272–280  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

270}
271
272const char *CompileOptions::exe_path(const char * const *paths, u32 num)
273{
274 for (u32 ii = 0; ii < num; ++ii) {
275 if (os::access(paths[ii], AccessFlags::EXECUTE) == 0)
276 return paths[ii];
277 }
278
279 return NULL;
280}
281
282void CompileOptions::read_output(StringStream &output, Process &pr)
283{

Callers 2

compileFunction · 0.80
run_shadercFunction · 0.80

Calls 1

accessFunction · 0.85

Tested by

no test coverage detected