Skip to content
This repository was archived by the owner on Jan 8, 2022. It is now read-only.

Conversation

@jackwakefield
Copy link
Contributor

These changes are copied from lean_and_mean.zig

The main reason for doing this is for i386 builds, where Zig defines std.os.windows.WINAPI as Stdcall rather than C, and Zig doesn't support variadic args unless the calling convention is C.

I completely appreciate there could be a reason I'm missing as to why these are variadic though!

@GoNZooo
Copy link
Owner

GoNZooo commented Mar 24, 2021

I completely appreciate there could be a reason I'm missing as to why these are variadic though!

More than likely you are overestimating the amount of manual code that's written here. On top of that it's likely that Zig itself generates other code nowadays for the same thing.

Have you tried these changes out in practice?

P.S. I'm very sorry about the late reply.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants