mirror of
https://github.com/pret/pmd-red.git
synced 2026-03-22 01:54:50 -05:00
11 lines
344 B
C
11 lines
344 B
C
#ifndef GUARD_TEXT_UTIL_H
|
|
#define GUARD_TEXT_UTIL_H
|
|
|
|
void StrncpyCustom(u8 *buffer, const u8 *string, s32 n); // Regular strncpy, but it calls GetCharId for each char
|
|
void CopyStringtoBuffer(u8 *buffer, const u8 *string);
|
|
void BoundedCopyStringtoBuffer(u8 *buffer, u8 *string, s32 size);
|
|
s32 ReturnIntFromChar(u8 c);
|
|
u32 GetCharId(u8);
|
|
|
|
#endif
|