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 */ }
const GHOST_TUns8* GHOST_getUserDir() { GHOST_ISystemPaths* systemPaths = GHOST_ISystemPaths::get(); return systemPaths ? systemPaths->getUserDir() : 0; /* shouldn't be NULL */ }