Skip to content

Commit

Permalink
stage3 support, use "*const fn(...)" for function pointers when not s…
Browse files Browse the repository at this point in the history
…tage1
  • Loading branch information
marler8997 committed Sep 9, 2022
1 parent f46fa98 commit ff6245c
Show file tree
Hide file tree
Showing 255 changed files with 584,430 additions and 239,085 deletions.
452 changes: 318 additions & 134 deletions win32/ai/machine_learning/direct_ml.zig

Large diffs are not rendered by default.

962 changes: 682 additions & 280 deletions win32/ai/machine_learning/win_ml.zig

Large diffs are not rendered by default.

1,393 changes: 984 additions & 409 deletions win32/data/html_help.zig

Large diffs are not rendered by default.

20 changes: 14 additions & 6 deletions win32/data/rights_management.zig
Original file line number Diff line number Diff line change
Expand Up @@ -198,12 +198,20 @@ pub const DRM_DISTRIBUTION_POINT_LICENSE_ACQUISITION = DRM_DISTRIBUTION_POINT_IN
pub const DRM_DISTRIBUTION_POINT_PUBLISHING = DRM_DISTRIBUTION_POINT_INFO.PUBLISHING;
pub const DRM_DISTRIBUTION_POINT_REFERRAL_INFO = DRM_DISTRIBUTION_POINT_INFO.REFERRAL_INFO;

pub const DRMCALLBACK = fn(
param0: DRM_STATUS_MSG,
param1: HRESULT,
param2: ?*anyopaque,
param3: ?*anyopaque,
) callconv(@import("std").os.windows.WINAPI) HRESULT;
pub const DRMCALLBACK = switch (@import("builtin").zig_backend) {
.stage1 => fn(
param0: DRM_STATUS_MSG,
param1: HRESULT,
param2: ?*anyopaque,
param3: ?*anyopaque,
) callconv(@import("std").os.windows.WINAPI) HRESULT,
else => *const fn(
param0: DRM_STATUS_MSG,
param1: HRESULT,
param2: ?*anyopaque,
param3: ?*anyopaque,
) callconv(@import("std").os.windows.WINAPI) HRESULT,
} ;


//--------------------------------------------------------------------------------
Expand Down
10,140 changes: 7,256 additions & 2,884 deletions win32/data/xml/ms_xml.zig

Large diffs are not rendered by default.

Loading

0 comments on commit ff6245c

Please sign in to comment.