GTRANS: Update types

feature/sdl2_threaded^2
Joel Bodenmann 2021-08-23 15:46:22 +02:00
parent ec257874a7
commit 317db95c46
2 changed files with 3 additions and 3 deletions

View File

@ -51,7 +51,7 @@ const char* gtransString(const char* string)
return _languageCurrent->strings[i];
}
const char* gtransIndex(unsigned index)
const char* gtransIndex(gU32 index)
{
if (!_languageCurrent) {
return 0;

View File

@ -27,7 +27,7 @@
* @brief A table containing translated strings.
*/
typedef struct transTable {
unsigned numEntries; /**< The number of strings that this table contains */
gU32 numEntries; /**< The number of strings that this table contains */
const char** strings; /**< The translated strings */
} transTable;
@ -59,7 +59,7 @@ const char* gtransString(const char* string);
*
* @return The string at the given index of the current language or 0 if it doesn't exist.
*/
const char* gtransIndex(unsigned index);
const char* gtransIndex(gU32 index);
/**
* @brief Set the base language.