Skip to content

Incorrect types generated for constants #9

@Tired-Fox

Description

@Tired-Fox

For a few constants in win32.ui.windows_and_messaging the types are generated to be "Type":{"Kind":"Native","Name":"UInt32"} instead of "Type":{"Kind":"ApiRef","Name":"PWSTR","TargetKind":"Default","Api":"Foundation","Parents":[]}. This causes constants like IDI_ERROR to be generated down the line to u32 in zig when they should be [:0]const u16.

The main constants that this is happening to that I am using are IDI_WARNING, IDI_ERROR, and IDI_INFORMATION

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions