wut
1.0.0-beta9
Wii U Toolchain
include
gx2r
mem.h
Go to the documentation of this file.
1
#pragma once
2
#include <
wut.h
>
3
#include "
resource.h
"
4
11
#ifdef __cplusplus
12
extern
"C"
{
13
#endif
14
15
typedef
void
* (*GX2RAllocFunction)(
GX2RResourceFlags
, uint32_t, uint32_t);
16
typedef
void (*
GX2RFreeFunction
)(
GX2RResourceFlags
,
void
*);
17
18
void
19
GX2RInvalidateMemory
(
GX2RResourceFlags
flags,
20
void
*buffer,
21
uint32_t size);
22
23
BOOL
24
GX2RIsUserMemory
(
GX2RResourceFlags
flags);
25
26
void
27
GX2RSetAllocator
(
GX2RAllocFunction
allocFn,
28
GX2RFreeFunction
freeFn);
29
30
#ifdef __cplusplus
31
}
32
#endif
33
GX2RSetAllocator
void GX2RSetAllocator(GX2RAllocFunction allocFn, GX2RFreeFunction freeFn)
GX2RResourceFlags
GX2RResourceFlags
Definition:
resource.h:14
GX2RInvalidateMemory
void GX2RInvalidateMemory(GX2RResourceFlags flags, void *buffer, uint32_t size)
wut.h
resource.h
GX2RIsUserMemory
BOOL GX2RIsUserMemory(GX2RResourceFlags flags)
BOOL
int32_t BOOL
Definition:
wut_types.h:4
GX2RAllocFunction
void *(* GX2RAllocFunction)(GX2RResourceFlags, uint32_t, uint32_t)
Definition:
mem.h:15
GX2RFreeFunction
void(* GX2RFreeFunction)(GX2RResourceFlags, void *)
Definition:
mem.h:16
Generated by
1.8.17