-
Notifications
You must be signed in to change notification settings - Fork 56
Open
Description
e.g.
zigwin32/win32/ui/controls.zig
Lines 1881 to 1886 in 6777f1d
| pub const WC_STATICA = "Static"; | |
| pub const WC_STATICW = "Static"; | |
| pub const WC_STATIC = "Static"; | |
| pub const WC_EDITA = "Edit"; | |
| pub const WC_EDITW = "Edit"; | |
| pub const WC_EDIT = "Edit"; |
should be something like
pub const WC_STATICA = "Static";
pub const WC_STATICW = @import("../zig.zig").L(WC_STATICA);
pub const WC_EDITA = "Edit";
pub const WC_EDITW = @import("../zig.zig").L(WC_EDITA);
pub usingnamespace switch(@import("../zig.zig").unicode_mode) {
.ansi => struct {
pub const WC_STATIC = WC_STATICA;
pub const WC_EDIT = WC_EDITA;
},
.wide => struct {
pub const WC_STATIC = WC_STATICW;
pub const WC_EDIT = WC_EDITW;
},
.unspecified => struct {
pub const WC_STATIC = @compileError("'WC_STATIC' requires that UNICODE be set to true or false in the root module");
pub const WC_EDIT = @compileError("'WC_EDIT' requires that UNICODE be set to true or false in the root module");
},
};Metadata
Metadata
Assignees
Labels
No labels