Skip to content

API macro erased but should be extern(System) #279

@adamdruppe

Description

@adamdruppe

I ran this on the chromium embedded framework. It has functions like this:

int(CEF_CALLBACK* move_to_next_attribute)(struct _cef_xml_reader_t* self);

Inside the extern(C) block. Which is OK on Linux, but on Windows, that CEF_CALLBACK expands to __stdcall. So I believe this should be extern(System) pointer.

Given the preprocessor this is tricky to do but maybe some kind of hack could recognize the pattern anyway.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions