20 unsigned size = path.size();
22 pathnames.push_back(base);
26 if (sep == (
unsigned)string::npos) {
30 dir = path.substr(
pos, sep -
pos);
34 res = string(cleaned);
40 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, 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)