summaryrefslogtreecommitdiff
path: root/example-cross-compile/win.zig
blob: 200fa34ca52b8a7e2cfaebba69038c41e9b9e894 (plain) (blame)
1
2
3
4
5
6
7
8
const winh = @cImport({
    @cInclude("windows.h");
    @cInclude("winuser.h");
});

pub fn main() void {
    _ = winh.MessageBoxA(null, "world", "hello", 0);
}