aboutsummaryrefslogtreecommitdiffstats
path: root/code/custom/4coder_fleury/4coder_fleury_lego.h
blob: 916e29c021dc95753b1e89f03d12627485037e05 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/* date = February 19th 2021 1:26 pm */

#ifndef FCODER_FLEURY_LEGO_H
#define FCODER_FLEURY_LEGO_H

enum F4_LegoKind
{
    F4_LegoKind_Null,
    F4_LegoKind_String,
    F4_LegoKind_Macro,
    F4_LegoKind_File,
    F4_LegoKind_COUNT
};

struct F4_Lego
{
    b32 initialized;
    F4_LegoKind kind;
    Arena arena;
    String8 string;
};

function void F4_Lego_Store(F4_Lego *lego, F4_LegoKind kind, String8 string);

#endif // FCODER_FLEURY_LEGO_H