Skip to content
This repository was archived by the owner on Dec 22, 2025. It is now read-only.

Add default (empty) definitions when MEMTRACE_ENABLE is false #10

@multisample

Description

@multisample

We have been using memtrace a bit and one thing would be nice is...

When MEMTRACE_ENABLE is false, that the functions are defined to be empty (HeapCreate can just return 0); That way we don't have to litter ifdefs in code when disabling memtrace, it just compiles out.

Would you be opposed to a PR with that 'functionality' added ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions