mirror of
https://github.com/adamdruppe/arsd.git
synced 2025-04-25 21:00:09 +03:00
safer by default annotations
This commit is contained in:
parent
08a584f7f0
commit
01cc666976
1 changed files with 2 additions and 2 deletions
4
com.d
4
com.d
|
@ -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 orig = c;
|
||||
|
||||
|
@ -1470,7 +1470,7 @@ BOOL SetKeyAndValue(LPCSTR pszKey, LPCSTR pszSubkey, LPCSTR pszValue)
|
|||
return result;
|
||||
}
|
||||
|
||||
void unicode2ansi(char *s)
|
||||
void unicode2ansi(char *s) @system
|
||||
{
|
||||
wchar *w;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue