mirror of
https://github.com/ziglang/zig.git
synced 2026-02-17 23:10:09 +00:00
std.coff: Add sizeOf function to WeakExternalDefinition
Convenience function similar in nature to Symbol.sizeOf
This commit is contained in:
parent
78e07b8fc8
commit
a974198b94
@ -933,6 +933,10 @@ pub const WeakExternalDefinition = struct {
|
||||
flag: WeakExternalFlag,
|
||||
|
||||
unused: [10]u8,
|
||||
|
||||
pub fn sizeOf() usize {
|
||||
return 18;
|
||||
}
|
||||
};
|
||||
|
||||
// https://github.com/tpn/winsdk-10/blob/master/Include/10.0.16299.0/km/ntimage.h
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user