34 unsigned size = path.size();
36 pathnames.push_back(base);
40 if (sep == (
unsigned)string::npos) {
44 dir = path.substr(
pos, sep -
pos);
48 res = string(cleaned);
54 pathnames.push_back(res);
void BLI_path_normalize(const char *relabase, char *path) ATTR_NONNULL(2)
char * BLI_strncpy(char *__restrict dst, const char *__restrict src, const size_t maxncpy) ATTR_NONNULL()
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)