mirror of
https://github.com/zeldaret/tp
synced 2026-06-02 10:10:35 -04:00
8185d87f85
* initial copy of hbm from sdk_2009-12-11 * some more nw4hbm cleanup * nw4hbm db mostly done * nw4hbm snd copied from oot-vc * nw4hbm ut copied * nw4hbm lyt copied * nw4hbm copied, mostly matching usa 1.0 * setup nw4hbm debug define * fix HBMDataInfo struct * add rvl sdk card lib
32 lines
514 B
C
32 lines
514 B
C
#ifndef _REVOLUTION_MEM_LIST_H_
|
|
#define _REVOLUTION_MEM_LIST_H_
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#include <revolution/types.h>
|
|
|
|
typedef struct {
|
|
void* prev;
|
|
void* next;
|
|
} MEMLink;
|
|
|
|
typedef struct {
|
|
void* head;
|
|
void* tail;
|
|
u16 num;
|
|
u16 offs;
|
|
} MEMList;
|
|
|
|
void MEMInitList(MEMList*, u16);
|
|
void MEMAppendListObject(MEMList*, void*);
|
|
void MEMRemoveListObject(MEMList*, void*);
|
|
void* MEMGetNextListObject(MEMList*, void*);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif // _REVOLUTION_MEM_LIST_H_
|