2021-11-13 09:49:15 -05:00
|
|
|
#ifndef POKEHEARTGOLD_STRING_UTIL_H
|
|
|
|
#define POKEHEARTGOLD_STRING_UTIL_H
|
|
|
|
|
2023-07-01 22:55:39 +01:00
|
|
|
typedef enum PrintingMode {
|
|
|
|
PRINTING_MODE_LEFT_ALIGN,
|
|
|
|
PRINTING_MODE_RIGHT_ALIGN,
|
|
|
|
PRINTING_MODE_LEADING_ZEROS,
|
|
|
|
} PrintingMode;
|
2022-01-08 19:54:18 -05:00
|
|
|
|
|
|
|
u16 * CopyU16StringArray(u16 *dest, const u16 *src);
|
2021-11-13 09:49:15 -05:00
|
|
|
BOOL StringNotEqual(const u16 *a, const u16 *b);
|
2023-05-25 03:21:51 -05:00
|
|
|
u16 *StringFill(u16 *str, u16 val, u32 n);
|
2022-01-08 19:54:18 -05:00
|
|
|
u16 *StringFillEOS(u16 *s, u32 n);
|
2023-07-01 22:55:39 +01:00
|
|
|
u16 *ConvertUIntToDecimalString(u16 *dest, u32 num, PrintingMode strconvmode, u32 ndigits);
|
2022-01-10 10:42:18 -05:00
|
|
|
u16 * CopyU16StringArrayN(u16 *dest, const u16 *src, u32 n);
|
|
|
|
int StringLength(const u16 *str);
|
|
|
|
BOOL StringNotEqualN(const u16 *a, const u16 *b, u32 n);
|
2021-11-13 09:49:15 -05:00
|
|
|
|
|
|
|
#endif //POKEHEARTGOLD_STRING_UTIL_H
|