SSBM Decomp
Loading...
Searching...
No Matches
id.h
Go to the documentation of this file.
1#ifndef _id_h_
2#define _id_h_
3
4#include <Runtime/platform.h>
5
7
9
10typedef struct _IDEntry {
11 struct _IDEntry* next;
13 void* data;
14} IDEntry;
15
16typedef struct _HSD_IDTable {
17 struct _IDEntry* table[101];
19
21void HSD_IDInitAllocData(void);
22void HSD_IDSetup(void);
23void HSD_IDInsertToTable(HSD_IDTable* table, HSD_IDKey id, void* data);
26void _HSD_IDForgetMemory(void* low, void* high);
27
28static inline void* HSD_IDGetData(HSD_IDKey id, s32* success)
29{
31}
32
33#endif
static grZe_ColorEntry table[3]
Definition grzebes.c:1074
void _HSD_IDForgetMemory(void *low, void *high)
Definition id.c:124
HSD_ObjAllocData * HSD_IDGetAllocData(void)
Definition id.c:11
void HSD_IDInsertToTable(HSD_IDTable *table, HSD_IDKey id, void *data)
Definition id.c:42
void HSD_IDInitAllocData(void)
Definition id.c:16
void HSD_IDRemoveByIDFromTable(HSD_IDTable *table, HSD_IDKey id)
Definition id.c:75
static void * HSD_IDGetData(HSD_IDKey id, s32 *success)
Definition id.h:28
void HSD_IDSetup(void)
Definition id.c:21
void * HSD_IDGetDataFromTable(HSD_IDTable *table, HSD_IDKey id, s32 *success)
Definition id.c:99
signed int s32
Definition types.h:12
#define NULL
Definition stddef.h:19
#define success(scan_state)
Definition strtoul.c:21
Definition id.h:16
struct _IDEntry * table[101]
Definition id.h:17
Definition objalloc.h:19
Definition id.h:10
HSD_IDKey id
Definition id.h:12
void * data
Definition id.h:13
struct _IDEntry * next
Definition id.h:11
uintptr_t HSD_IDKey
Definition forward.h:107