RetroArch
mem.h
Go to the documentation of this file.
1 #pragma once
2 #include <wiiu/types.h>
3 #include "resource.h"
4 
5 #ifdef __cplusplus
6 extern "C" {
7 #endif
8 
9 typedef void *(*GX2RAllocFunction)(GX2RResourceFlags, uint32_t, uint32_t);
11 
15 
16 #ifdef __cplusplus
17 }
18 #endif
19 
void GX2RInvalidateMemory(GX2RResourceFlags flags, void *buffer, uint32_t size)
GLsizeiptr size
Definition: glext.h:6559
typedef void(__stdcall *PFN_DESTRUCTION_CALLBACK)(void *pData)
void *(* GX2RAllocFunction)(GX2RResourceFlags, uint32_t, uint32_t)
Definition: mem.h:9
GX2RResourceFlags
Definition: resource.h:8
void(* GX2RFreeFunction)(GX2RResourceFlags, void *)
Definition: mem.h:10
unsigned int BOOL
Definition: gctypes.h:51
BOOL GX2RIsUserMemory(GX2RResourceFlags flags)
void GX2RSetAllocator(GX2RAllocFunction allocFn, GX2RFreeFunction freeFn)
Definition: video4linux2.c:51
GLbitfield flags
Definition: glext.h:7828
unsigned int uint32_t
Definition: stdint.h:126