19void getPathName(
const string &path,
const string &base, vector<string> &pathnames)
24 uint size = path.size();
26 pathnames.push_back(base);
31 if (sep ==
uint(string::npos)) {
35 dir = path.substr(
pos, sep -
pos);
39 res = string(cleaned);
45 pathnames.push_back(res);
int BLI_path_normalize(char *path) ATTR_NONNULL(1)
#define STRNCPY(dst, src)
Configuration definitions.
static DBVT_INLINE btScalar size(const btDbvtVolume &a)
static const string DIR_SEP("/")
static const string PATH_SEP(":")
void getPathName(const string &path, const string &base, vector< string > &pathnames)