You've already forked 2ship2harkinian-Android
mirror of
https://github.com/izzy2lost/2ship2harkinian-Android.git
synced 2026-03-10 11:20:47 -07:00
Co-authored-by: Louis <35883445+louist103@users.noreply.github.com> Co-authored-by: Nicholas Estelami <NEstelami@users.noreply.github.com> Co-authored-by: Random06457 <28494085+Random06457@users.noreply.github.com>
26 lines
489 B
C
26 lines
489 B
C
#ifndef LISTALLOC_H
|
|
#define LISTALLOC_H
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#define this thisx
|
|
#endif
|
|
|
|
#include "ultra64.h"
|
|
|
|
typedef struct ListAlloc {
|
|
/* 0x0 */ struct ListAlloc* prev;
|
|
/* 0x4 */ struct ListAlloc* next;
|
|
} ListAlloc; // size = 0x8
|
|
|
|
ListAlloc* ListAlloc_Init(ListAlloc* this);
|
|
void* ListAlloc_Alloc(ListAlloc* this, size_t size);
|
|
void ListAlloc_Free(ListAlloc* this, void* data);
|
|
void ListAlloc_FreeAll(ListAlloc* this);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#undef this
|
|
#endif
|
|
|
|
#endif |