diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2024-10-23 15:35:54 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-10-23 15:35:54 -0700 |
| commit | 78f643c46d36d296d17b332b577c966fd0dd21bb (patch) | |
| tree | daa72a84c587ed47377d6db27bf9725f95d94cb2 /lib/std/builtin.zig | |
| parent | 6bf52b0505ad7317b5f0d6fa77b7c41318b9c73b (diff) | |
| parent | 7edd69d8aade6da2339cb0d9a027c52b3015bc31 (diff) | |
| download | zig-78f643c46d36d296d17b332b577c966fd0dd21bb.tar.gz zig-78f643c46d36d296d17b332b577c966fd0dd21bb.zip | |
Merge pull request #21758 from kcbanner/dll_storage_class
Add `is_dll_import` to @extern, to support `__declspec(dllimport)` with the MSVC ABI
Diffstat (limited to 'lib/std/builtin.zig')
| -rw-r--r-- | lib/std/builtin.zig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/std/builtin.zig b/lib/std/builtin.zig index ccf948372e..114a4922a2 100644 --- a/lib/std/builtin.zig +++ b/lib/std/builtin.zig @@ -969,6 +969,7 @@ pub const ExternOptions = struct { library_name: ?[]const u8 = null, linkage: GlobalLinkage = .strong, is_thread_local: bool = false, + is_dll_import: bool = false, }; /// This data structure is used by the Zig language code generation and |
