Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
18 lines
375 B
C++
18 lines
375 B
C++
#pragma once
|
|
|
|
// This file replaces the default implementation in jni.hpp.
|
|
|
|
#include <mln/util/utf.hpp>
|
|
|
|
namespace jni {
|
|
|
|
inline std::u16string convertUTF8ToUTF16(const std::string& str) {
|
|
return mln::util::convertUTF8ToUTF16(str);
|
|
}
|
|
|
|
inline std::string convertUTF16ToUTF8(const std::u16string& str) {
|
|
return mln::util::convertUTF16ToUTF8(str);
|
|
}
|
|
|
|
} // namespace jni
|