mirror of https://github.com/adamdruppe/arsd.git
safer by default nannotation
This commit is contained in:
parent
db6f95f4b7
commit
39be258048
|
|
@ -479,7 +479,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;
|
||||||
|
|
||||||
|
|
@ -789,7 +789,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