safer by default annotations

This commit is contained in:
Adam D. Ruppe 2025-02-08 15:45:30 -05:00
parent 08a584f7f0
commit 01cc666976
1 changed files with 2 additions and 2 deletions

4
com.d
View File

@ -1159,7 +1159,7 @@ extern (D) void ObjectDestroyed()
} }
char[] oleCharsToString(char[] buffer, OLECHAR* chars) { char[] oleCharsToString(char[] buffer, OLECHAR* chars) @system {
auto c = cast(wchar*) chars; auto c = cast(wchar*) chars;
auto orig = c; auto orig = c;
@ -1470,7 +1470,7 @@ BOOL SetKeyAndValue(LPCSTR pszKey, LPCSTR pszSubkey, LPCSTR pszValue)
return result; return result;
} }
void unicode2ansi(char *s) void unicode2ansi(char *s) @system
{ {
wchar *w; wchar *w;