From 678104121a1aeca7851b91bc536de5548efdf651 Mon Sep 17 00:00:00 2001 From: Albert Cervin Date: Wed, 28 Feb 2024 11:06:00 +0100 Subject: One missing file from last commit --- src/dged/lang.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src') diff --git a/src/dged/lang.h b/src/dged/lang.h index dab81e6..e80ce23 100644 --- a/src/dged/lang.h +++ b/src/dged/lang.h @@ -48,6 +48,13 @@ struct language lang_from_filename(const char *filename); */ struct language lang_from_id(const char *id); +/** + * Check if this lang is the fundamental (default) lang. + * + * @returns True if language is fundamental, false otherwise. + */ +bool lang_is_fundamental(const struct language *lang); + /** * Get all settings associated with a language. * -- cgit v1.2.3