mirror of
https://github.com/ziglang/zig.git
synced 2026-01-20 14:25:16 +00:00
std.os.windows: add compileError warning against TCHAR & their corresponding string/pointer types (#18741)
This commit is contained in:
parent
c4e3a49898
commit
841bb0a1fd
@ -2868,6 +2868,12 @@ pub const LRESULT = LONG_PTR;
|
||||
|
||||
pub const va_list = *opaque {};
|
||||
|
||||
pub const TCHAR = @compileError("Deprecated: choose between `CHAR` or `WCHAR` directly instead.");
|
||||
pub const LPTSTR = @compileError("Deprecated: choose between `LPSTR` or `LPWSTR` directly instead.");
|
||||
pub const LPCTSTR = @compileError("Deprecated: choose between `LPCSTR` or `LPCWSTR` directly instead.");
|
||||
pub const PTSTR = @compileError("Deprecated: choose between `PSTR` or `PWSTR` directly instead.");
|
||||
pub const PCTSTR = @compileError("Deprecated: choose between `PCSTR` or `PCWSTR` directly instead.");
|
||||
|
||||
pub const TRUE = 1;
|
||||
pub const FALSE = 0;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user