wut/libraries/libwhb/src/gfx_heap.h
2018-05-23 11:10:10 +01:00

36 lines
508 B
C

#pragma once
#include <wut.h>
BOOL
GfxHeapInitMEM1();
BOOL
GfxHeapDestroyMEM1();
BOOL
GfxHeapInitForeground();
BOOL
GfxHeapDestroyForeground();
void *
GfxHeapAllocMEM1(uint32_t size,
uint32_t alignment);
void
GfxHeapFreeMEM1(void *block);
void *
GfxHeapAllocForeground(uint32_t size,
uint32_t alignment);
void
GfxHeapFreeForeground(void *block);
void *
GfxHeapAllocMEM2(uint32_t size,
uint32_t alignment);
void
GfxHeapFreeMEM2(void *block);