Skip to content

Style: Do we really need typed aliases? #12

Open
@Free-Pascal-meets-SDL-Website

Description

Hey @suve and all,

I wonder if the effort to translate all the types of SDL3 to typed aliases is worth it. Most types of SDL3 are integer types. These and their typed aliases are assignment-compatible in Free Pascal and Delphi, so usually nobody will ever find out that he used the "wrong" type on, e. g. calling a function, unless specifically a type check is performed (by the caller).

Am I missing anything?

Best regards
Matthias

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions