Skip to content

Use of legacy C integer types #27

Closed
@markshannon

Description

@markshannon

We use the C type long a lot in the C API, which is problem because long varies in size across platforms in a way that is hard to deal with. A long might be 32bit or 64bit on a 64bit platform, which makes for lots of #ifdefs and conditional logic that wouldn't be needed if we used C99 stdint integer types.

Our code is also full of int where we mean int32_t. int is almost always 32 bit, but it is not guaranteed.

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