Exemplo n.º 1
0
const GHOST_TUns8 *GHOST_getUserDir(int version, const char *versionstr)
{
  GHOST_ISystemPaths *systemPaths = GHOST_ISystemPaths::get();
  return systemPaths ? systemPaths->getUserDir(version, versionstr) : NULL; /* shouldn't be NULL */
}
Exemplo n.º 2
0
const GHOST_TUns8* GHOST_getUserDir()
{
	GHOST_ISystemPaths* systemPaths = GHOST_ISystemPaths::get();
	return systemPaths ? systemPaths->getUserDir() : 0; /* shouldn't be NULL */
}