mirror of
https://github.com/Fledge68/WiiFlow_Lite.git
synced 2024-11-28 06:04:16 +01:00
30bc03c9fa
-updated libext2fs to e2fsprogs 1.42 -updated libfat to R4883 Thanks to USB Loader GX for the new libs
28 lines
555 B
C
28 lines
555 B
C
// 2 MEM2 allocators, one for general purpose, one for covers
|
|
// Aligned and padded to 32 bytes, as required by many functions
|
|
|
|
#ifndef __MEM2_H_
|
|
#define __MEM2_H_
|
|
|
|
#ifdef __cplusplus
|
|
extern "C"
|
|
{
|
|
#endif
|
|
|
|
#include <gctypes.h>
|
|
|
|
void MEM2_init(unsigned int mem2Size);
|
|
void MEM2_cleanup(void);
|
|
void MEM2_takeBigOnes(bool b);
|
|
void *MEM2_alloc(unsigned int s);
|
|
void *MEM2_realloc(void *p, unsigned int s);
|
|
void MEM2_free(void *p);
|
|
unsigned int MEM2_usableSize(void *p);
|
|
unsigned int MEM2_freesize();
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif // !defined(__MEM2_H_)
|