diff options
Diffstat (limited to 'crawl-ref/source/libutil.h')
-rw-r--r-- | crawl-ref/source/libutil.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/libutil.h b/crawl-ref/source/libutil.h index a36d632c81..63746ee8b6 100644 --- a/crawl-ref/source/libutil.h +++ b/crawl-ref/source/libutil.h @@ -30,6 +30,8 @@ int unmangle_direction_keys(int keyin, int keymap = 0, void lowercase(std::string &s); void uppercase(std::string &s); bool ends_with(const std::string &s, const std::string &suffix); +std::string pluralise(const std::string &name, + const char *no_of[] = NULL); /** * Returns 1 + the index of the first suffix that matches the given string, |