mirror of
https://github.com/devkitPro/wut.git
synced 2026-03-22 01:44:41 -05:00
Some checks failed
C/C++ CI / ubuntu-latest (push) Has been cancelled
`find . -regex '.*\.\(cpp\|hpp\|cu\|cuh\|c\|h\)' -exec clang-format -style=file -i {} \;`
35 lines
588 B
C
35 lines
588 B
C
#pragma once
|
|
#include <wut.h>
|
|
|
|
/**
|
|
* \defgroup coreinit_fiber Fiber
|
|
* \ingroup coreinit
|
|
*
|
|
* @{
|
|
*/
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
typedef void (*OSFiberEntryFn)();
|
|
typedef void (*OSFiberExEntryFn)(uint32_t arg1, uint32_t arg2, uint32_t arg3, uint32_t arg4);
|
|
|
|
int32_t
|
|
OSSwitchFiber(OSFiberEntryFn entry,
|
|
void *stack);
|
|
|
|
int32_t
|
|
OSSwitchFiberEx(uint32_t arg1,
|
|
uint32_t arg2,
|
|
uint32_t arg3,
|
|
uint32_t arg4,
|
|
OSFiberExEntryFn entry,
|
|
void *stack);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
/** @} */
|