소스 검색

Add descriptions

Ben Payne 10 년 전
부모
커밋
6e45643b28
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      Engine/source/core/strings/unicode.h

+ 2 - 0
Engine/source/core/strings/unicode.h

@@ -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])
 {