fs/Charset: add DeinitFSCharset()

This commit is contained in:
Max Kellermann
2014-11-29 23:35:18 +01:00
parent 125daea16a
commit 563db580ae
5 changed files with 21 additions and 0 deletions

View File

@@ -88,6 +88,11 @@ SetFSCharset(const char *charset, Error &error)
#endif
void
DeinitFSCharset()
{
}
const char *
GetFSCharset()
{

View File

@@ -41,6 +41,9 @@ GetFSCharset();
bool
SetFSCharset(const char *charset, Error &error);
void
DeinitFSCharset();
/**
* Convert the path to UTF-8.
* Returns empty string on error.

View File

@@ -61,3 +61,11 @@ ConfigureFS(Error &error)
return true;
#endif
}
void
DeinitFS()
{
#ifdef HAVE_FS_CHARSET
DeinitFSCharset();
#endif
}

View File

@@ -30,4 +30,7 @@ class Error;
bool
ConfigureFS(Error &error);
void
DeinitFS();
#endif