Zig 0.17.0-dev (Split by item)

This is an example of documentation generated by ZigDoc, an alternative to Zig's built-in Auto Doc feature. See also examples in other modes/formats. The project being documented here (as the example) is the Zig library itself.

cc

The calling convention used for all external functions part of the UEFI API.

uefi.cc
pub const cc: std.builtin.CallingConvention = switch (@import("builtin").target.cpu.arch)

File

lib/std/os/uefi.zig:73

Code

pub const cc: std.builtin.CallingConvention = switch (@import("builtin").target.cpu.arch) {
    .x86_64 => .{ .x86_64_win = .{} },
    else => .c,
}