Skip to content

Discussion: Replace function-like macros by inline functions? #154

@BenBE

Description

@BenBE

While working my way through several headers I noticed quite a few #defines that better should be inline functions.

This suggestion does not cover the various cast helpers, but things like e.g. Settings_cpuId or xSnprintf.

Detecting support for LTO in configure.ac we even could implement all those function outside the header files without loosing any performance.

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