diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-12-08 09:54:22 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-12-08 12:30:05 +0300 |
commit | 07726ef1b609d4420ad09fb1c7273667c00b1383 (patch) | |
tree | e55e9549125a7c399c7b97ec80ca6658eb223dfa /source/blender/blentranslation/BLT_lang.h | |
parent | ca0c9757f228d056b6d41e960c36cd8df7f8e8b6 (diff) |
Cleanup: move public doc-strings into headers for 'blentranslation'
Ref T92709
Diffstat (limited to 'source/blender/blentranslation/BLT_lang.h')
-rw-r--r-- | source/blender/blentranslation/BLT_lang.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/source/blender/blentranslation/BLT_lang.h b/source/blender/blentranslation/BLT_lang.h index dcd4de10416..1a0981613a1 100644 --- a/source/blender/blentranslation/BLT_lang.h +++ b/source/blender/blentranslation/BLT_lang.h @@ -46,6 +46,15 @@ const char *BLT_lang_get(void); * Non-null elements are always MEM_mallocN'ed, it's the caller's responsibility to free them. * NOTE: Always available, even in non-WITH_INTERNATIONAL builds. */ +/** + * Get locale's elements (if relevant pointer is not NULL and element actually exists, e.g. + * if there is no variant, + * *variant and *language_variant will always be NULL). + * Non-null elements are always MEM_mallocN'ed, it's the caller's responsibility to free them. + * + * \note Keep that one always available, you never know, + * may become useful even in no #WITH_INTERNATIONAL context. + */ void BLT_lang_locale_explode(const char *locale, char **language, char **country, |