]> pd.if.org Git - pdclib/blobdiff - includes/wchar.h
Add nothrow annotations where appropriate
[pdclib] / includes / wchar.h
index eab2984b0e297539c88f1c87d59a1664339d11b0..59955b3d80b7a3cb5fa0d6d72123d8d9ecc4cf50 100644 (file)
@@ -25,11 +25,11 @@ typedef _PDCLIB_wchar_t   wchar_t;
 #endif\r
 #endif\r
 \r
-wchar_t *wcschr( const wchar_t * haystack, wchar_t needle );\r
-wchar_t *wcsrchr( const wchar_t * haystack, wchar_t needle );\r
-size_t   wcslen( const wchar_t * string);\r
+wchar_t *wcschr( const wchar_t * haystack, wchar_t needle ) _PDCLIB_nothrow;\r
+wchar_t *wcsrchr( const wchar_t * haystack, wchar_t needle ) _PDCLIB_nothrow;\r
+size_t   wcslen( const wchar_t * string) _PDCLIB_nothrow;\r
 wchar_t *wcscpy( wchar_t * _PDCLIB_restrict dest, \r
-                 const wchar_t * _PDCLIB_restrict src);\r
+                 const wchar_t * _PDCLIB_restrict src) _PDCLIB_nothrow;\r
 \r
 _PDCLIB_END_EXTERN_C\r
 #endif\r