mirror of
https://github.com/wiiu-env/wut.git
synced 2025-01-06 13:58:18 +01:00
Add OSBlockMove and OSBlockSet.
This commit is contained in:
parent
1ae09d4cf5
commit
64bb52c552
30
include/coreinit/memory.h
Normal file
30
include/coreinit/memory.h
Normal file
@ -0,0 +1,30 @@
|
||||
#pragma once
|
||||
#include <wut.h>
|
||||
|
||||
/**
|
||||
* \defgroup coreinit_memory Memory
|
||||
* \ingroup coreinit
|
||||
*
|
||||
* @{
|
||||
*/
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
void *
|
||||
OSBlockMove(void *dst,
|
||||
const void *src,
|
||||
uint32_t size,
|
||||
BOOL flush);
|
||||
|
||||
void *
|
||||
OSBlockSet(void *dst,
|
||||
uint8_t val,
|
||||
uint32_t size);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
/** @} */
|
@ -180,6 +180,10 @@ EXPORT(MEMGetNextListObject);
|
||||
EXPORT(MEMGetPrevListObject);
|
||||
EXPORT(MEMGetNthListObject);
|
||||
|
||||
// coreinit/memory.h
|
||||
EXPORT(OSBlockMove);
|
||||
EXPORT(OSBlockSet);
|
||||
|
||||
// coreinit/messagequeue.h
|
||||
EXPORT(OSInitMessageQueue);
|
||||
EXPORT(OSInitMessageQueueEx);
|
||||
|
Loading…
Reference in New Issue
Block a user