unsafe
This commit is contained in:
parent
e0277a8807
commit
a222b3807e
7 changed files with 355 additions and 110 deletions
|
|
@ -23,7 +23,28 @@ static void* suic_alloc_struct(const TypeInfo* type, size_t size, void* init_dat
|
|||
}
|
||||
|
||||
|
||||
struct Color {
|
||||
uint8_t r;
|
||||
uint8_t g;
|
||||
uint8_t b;
|
||||
uint8_t a;
|
||||
};
|
||||
struct Shader {
|
||||
int id;
|
||||
};
|
||||
|
||||
static const uint8_t sui_bitmap_Color[] = { 0, 0, 0, 0 };
|
||||
static const TypeInfo sui_typeinfo_Color = {
|
||||
.field_count = 4,
|
||||
.pointer_count = 0,
|
||||
.pointer_bitmap = sui_bitmap_Color
|
||||
};
|
||||
static const uint8_t sui_bitmap_Shader[] = { 0 };
|
||||
static const TypeInfo sui_typeinfo_Shader = {
|
||||
.field_count = 1,
|
||||
.pointer_count = 0,
|
||||
.pointer_bitmap = sui_bitmap_Shader
|
||||
};
|
||||
|
||||
int suic_main(void);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue