mirror of
https://github.com/pret/pokeheartgold.git
synced 2024-11-27 15:10:26 +00:00
20 lines
674 B
C
20 lines
674 B
C
#ifndef POKEHEARTGOLD_STRING_UTIL_H
|
|
#define POKEHEARTGOLD_STRING_UTIL_H
|
|
|
|
typedef enum PrintingMode {
|
|
PRINTING_MODE_LEFT_ALIGN,
|
|
PRINTING_MODE_RIGHT_ALIGN,
|
|
PRINTING_MODE_LEADING_ZEROS,
|
|
} PrintingMode;
|
|
|
|
u16 * CopyU16StringArray(u16 *dest, const u16 *src);
|
|
BOOL StringNotEqual(const u16 *a, const u16 *b);
|
|
u16 *StringFill(u16 *str, u16 val, u32 n);
|
|
u16 *StringFillEOS(u16 *s, u32 n);
|
|
u16 *ConvertUIntToDecimalString(u16 *dest, u32 num, PrintingMode strconvmode, u32 ndigits);
|
|
u16 * CopyU16StringArrayN(u16 *dest, const u16 *src, u32 n);
|
|
int StringLength(const u16 *str);
|
|
BOOL StringNotEqualN(const u16 *a, const u16 *b, u32 n);
|
|
|
|
#endif //POKEHEARTGOLD_STRING_UTIL_H
|