Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AcademySoftwareFoundation/OpenColorIO
/ GetEnvVariable
Function
GetEnvVariable
src/OpenColorIO/Platform.cpp:23–28 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
21
{
22
23
const char * GetEnvVariable(const char * name)
24
{
25
thread_local std::string value;
26
Platform::Getenv(name, value);
27
return value.c_str();
28
}
29
30
void SetEnvVariable(const char * name, const char * value)
31
{
Callers
14
main
Function · 0.85
main
Function · 0.85
main
Function · 0.85
main
Function · 0.85
main
Function · 0.85
main
Function · 0.85
main
Function · 0.85
Generate
Function · 0.85
EnvironmentOverride
Function · 0.85
AddActiveDisplayView
Function · 0.85
RemoveActiveDisplayView
Function · 0.85
OCIOOptimizationFlagsEnvGuard
Method · 0.85
Calls
1
Getenv
Function · 0.85
Tested by
3
OCIOOptimizationFlagsEnvGuard
Method · 0.68
OCIO_ADD_TEST
Function · 0.68
main
Function · 0.68