summaryrefslogtreecommitdiff
path: root/include/string16.h
blob: 91888a7b3274dd2d665742c4f00793cfac1fcb72 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef POKEDIAMOND_STRING16_H
#define POKEDIAMOND_STRING16_H

struct String
{
    u16 len;
    u16 pos;
    u32 magic;
    u16 unk8;
    u16 data[1];
};

struct String * String_ctor(u32 count, u32 heap_id);
int FUN_02021CE0(struct String *, struct String *);
int FUN_0206AE00(int x);
void FUN_02021E8C(struct String *, u16 *, u32); // copy
void StringSetEmpty(struct String *); // set empty
struct String * StringDup(struct String *, u32 heap_id);

#endif //POKEDIAMOND_STRING16_H