$darkmode
Elektra 0.11.0
`keyIsBelow`

Problem

There are multiple very similar functions to check the "is below" relation between to keys:

Constraints

Keep (at least) the same functionality

Assumptions

Considered Alternatives

Decision

Merge keyIsBelow with keyIsBelowOrSame and keyIsDirectlyBelow to create this new API:

int keyIsBelow (const Key * base, const Key * other);

The replacements for the old functions are:

Rationale

Implications

Related Decisions

Notes