mirror of
https://github.com/KytyPS5/KytyPS5.git
synced 2026-10-20 19:07:01 +02:00
Initial commit
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
#ifndef EMULATOR_INCLUDE_EMULATOR_LIBS_GUEST_PRINTF_H_
|
||||
#define EMULATOR_INCLUDE_EMULATOR_LIBS_GUEST_PRINTF_H_
|
||||
|
||||
#include "common/abi.h"
|
||||
#include "common/common.h"
|
||||
|
||||
namespace Libs {
|
||||
|
||||
struct VaContext;
|
||||
struct VaList;
|
||||
|
||||
using guest_printf_std_func_t = KYTY_FORMAT_PRINTF(1, 2) KYTY_SYSV_ABI
|
||||
int (*)(const char* str, ...);
|
||||
using guest_printf_ctx_func_t = int (*)(VaContext* c);
|
||||
using guest_snprintf_ctx_func_t = int (*)(VaContext* c);
|
||||
using guest_vprintf_func_t = int (*)(const char* str, VaList* c);
|
||||
|
||||
guest_printf_std_func_t GetGuestPrintfStdFunc();
|
||||
guest_printf_ctx_func_t GetGuestPrintfCtxFunc();
|
||||
guest_snprintf_ctx_func_t GetGuestSnprintfCtxFunc();
|
||||
guest_vprintf_func_t GetGuestVprintfFunc();
|
||||
|
||||
} // namespace Libs
|
||||
|
||||
#endif /* EMULATOR_INCLUDE_EMULATOR_LIBS_GUEST_PRINTF_H_ */
|
||||
Reference in New Issue
Block a user