HomeClusterLabs Projects

Refactor: libcrmcommon: add convenience macros for plurals

Description

Refactor: libcrmcommon: add convenience macros for plurals

I've avoided making s_if_plural() an official API due to its hackiness, but
it really is the best solution for now. Promote it to pcmkplural_s(), along
with a companion macro pcmk
plural_alt() for more complicated plurals.

Details

Provenance
kgaillotAuthored on Dec 16 2019, 3:13 PM
Parents
rP7fe136e19b50: Refactor: libcrmcommon: convenience functions for list length comparisons
Branches
Unknown
Tags
Unknown

Event Timeline