animation struct documentation

This commit is contained in:
Banjo Kazooie
2023-03-12 23:11:39 -05:00
parent 7dd7a0b60c
commit af75d8b32d
293 changed files with 2031 additions and 1986 deletions

17
include/core2/vla.h Normal file
View File

@@ -0,0 +1,17 @@
#ifndef _STATIC_LENGTH_ARRAY_H_
#define _STATIC_LENGTH_ARRAY_H_
#include<ultratypes.h>
typedef struct variable_length_array{
s32 elem_size;
void * begin;
void * end;
void * mem_end;
u8 data[];
}VLA;
#define vector(T) struct variable_length_array
//^defined to keep element type with vla
#endif