mirror of https://github.com/adamdruppe/arsd.git
safer by default annotations
This commit is contained in:
parent
08a584f7f0
commit
01cc666976
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 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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue