blob: ca69ff4548ecec3a973bd1a4a3979a64bfb0a600 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
// C API bindings for src/windows_sdk.h
pub const ZigWindowsSDK = extern struct {
path10_ptr: ?[*]const u8,
path10_len: usize,
version10_ptr: ?[*]const u8,
version10_len: usize,
path81_ptr: ?[*]const u8,
path81_len: usize,
version81_ptr: ?[*]const u8,
version81_len: usize,
msvc_lib_dir_ptr: ?[*]const u8,
msvc_lib_dir_len: usize,
};
pub const ZigFindWindowsSdkError = enum(c_int) {
None,
OutOfMemory,
NotFound,
PathTooLong,
};
pub extern fn zig_find_windows_sdk(out_sdk: **ZigWindowsSDK) ZigFindWindowsSdkError;
pub extern fn zig_free_windows_sdk(sdk: *ZigWindowsSDK) void;
|