add Find_last_separator_unicode() function

This commit is contained in:
Thomas Bernard
2018-12-18 17:50:57 +01:00
parent c99fa40e6a
commit 322d95add8
2 changed files with 20 additions and 1 deletions

View File

@@ -98,6 +98,9 @@ void Extract_path(char *dest, const char *source);
/// Finds the rightmost path separator in a full filename. Used to separate directory from file.
char * Find_last_separator(const char * str);
/// Finds the rightmost path separator in a full filename in unicode. Used to separate directory from file.
word * Find_last_separator_unicode(const word * str);
/// default path separator character
#if defined(WIN32) || defined(__MINT__)
#define PATH_SEPARATOR "\\"