mirror of
https://github.com/isar/libmdbx.git
synced 2025-08-19 19:39:26 +08:00
mdbx: native wchar_t
pathname for Windows.
This commit is contained in:
8
mdbx.h++
8
mdbx.h++
@@ -3225,6 +3225,8 @@ public:
|
||||
#if defined(_WIN32) || defined(_WIN64) || defined(DOXYGEN)
|
||||
env ©(const ::std::wstring &destination, bool compactify,
|
||||
bool force_dynamic_size = false);
|
||||
env ©(const wchar_t *destination, bool compactify,
|
||||
bool force_dynamic_size = false);
|
||||
#endif /* Windows */
|
||||
env ©(const ::std::string &destination, bool compactify,
|
||||
bool force_dynamic_size = false);
|
||||
@@ -3260,6 +3262,8 @@ public:
|
||||
#if defined(_WIN32) || defined(_WIN64) || defined(DOXYGEN)
|
||||
static bool remove(const ::std::wstring &pathname,
|
||||
const remove_mode mode = just_remove);
|
||||
static bool remove(const wchar_t *pathname,
|
||||
const remove_mode mode = just_remove);
|
||||
#endif /* Windows */
|
||||
static bool remove(const ::std::string &pathname,
|
||||
const remove_mode mode = just_remove);
|
||||
@@ -3507,6 +3511,8 @@ public:
|
||||
#if defined(_WIN32) || defined(_WIN64) || defined(DOXYGEN)
|
||||
env_managed(const ::std::wstring &pathname, const operate_parameters &,
|
||||
bool accede = true);
|
||||
explicit env_managed(const wchar_t *pathname, const operate_parameters &,
|
||||
bool accede = true);
|
||||
#endif /* Windows */
|
||||
env_managed(const ::std::string &pathname, const operate_parameters &,
|
||||
bool accede = true);
|
||||
@@ -3531,6 +3537,8 @@ public:
|
||||
#if defined(_WIN32) || defined(_WIN64) || defined(DOXYGEN)
|
||||
env_managed(const ::std::wstring &pathname, const create_parameters &,
|
||||
const operate_parameters &, bool accede = true);
|
||||
explicit env_managed(const wchar_t *pathname, const create_parameters &,
|
||||
const operate_parameters &, bool accede = true);
|
||||
#endif /* Windows */
|
||||
env_managed(const ::std::string &pathname, const create_parameters &,
|
||||
const operate_parameters &, bool accede = true);
|
||||
|
Reference in New Issue
Block a user