Skip to content

Should use extern "system" as much as possible #3626

Description

@Berrysoft

Suggestion

extern "system" is designed for Windows API, which uses "stdcall" on x86 and "C" on other archs. windows_targets::link now distinguishes them again. It becomes very annoying because previously I use unsafe extern "system" fn function pointers to store some windows APIs but now they become "C" on non-x86. I don't get the point why you distinguish them.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions