Skip to content

i64 is missing from types available in defineStruct. #2

@Tezza48

Description

@Tezza48

I have been playing around with this library but have hit a blocker: i64 isn't a valid field type when using defineStruct.

For example, I would require a definition for tagMSG from "user32.dll" in "winuser.h" as follows:

const MSG = defineStruct([
    ["hwnd", "pointer"],
    ["message", "u32"],
    ["wParam", "u64"],
    ["lParam", "i64"],
    ["time", "u64"],
])

This is not possible due to i64 being missing.
I can probably work around this but it ought to be added.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions