diff options
| author | Tim Foley <tfoleyNV@users.noreply.github.com> | 2017-06-19 10:23:16 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-06-19 10:23:16 -0700 |
| commit | bb9ca29160f5d95f3860504262693ea650d96be5 (patch) | |
| tree | 04f502283ed818f661e368b3d8d1ba5ce875d1d2 /source/core/slang-io.h | |
| parent | cafed774d99f95bce6f182599913f3417dc68a3a (diff) | |
| parent | 634522da69b14b38c15b14d6b717b1289812e9bb (diff) | |
Merge pull request #29 from tfoleyNV/auto-import
Allow for automatic importing of Slang code
Diffstat (limited to 'source/core/slang-io.h')
| -rw-r--r-- | source/core/slang-io.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/source/core/slang-io.h b/source/core/slang-io.h index 869fad873..2f140c3ad 100644 --- a/source/core/slang-io.h +++ b/source/core/slang-io.h @@ -20,11 +20,8 @@ namespace Slang class Path { public: -#ifdef _WIN32 - static const char PathDelimiter = '\\'; -#else static const char PathDelimiter = '/'; -#endif + static String TruncateExt(const String & path); static String ReplaceExt(const String & path, const char * newExt); static String GetFileName(const String & path); |
