mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-06 22:10:36 +00:00
Add descriptions
This commit is contained in:
parent
4694b0a8ed
commit
6e45643b28
1 changed files with 2 additions and 0 deletions
|
|
@ -83,12 +83,14 @@ U32 convertUTF8toUTF16N(const UTF8 *unistring, UTF16 *outbuffer, U32 len);
|
|||
|
||||
U32 convertUTF16toUTF8N( const UTF16 *unistring, UTF8 *outbuffer, U32 len);
|
||||
|
||||
/// Safe conversion function for statically sized buffers.
|
||||
template <size_t N>
|
||||
inline U32 convertUTF8toUTF16(const UTF8 *unistring, UTF16 (&outbuffer)[N])
|
||||
{
|
||||
return convertUTF8toUTF16N(unistring, outbuffer, (U32) N);
|
||||
}
|
||||
|
||||
/// Safe conversion function for statically sized buffers.
|
||||
template <size_t N>
|
||||
inline U32 convertUTF16toUTF8(const UTF16 *unistring, UTF8 (&outbuffer)[N])
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue