mirror of
https://github.com/KytyPS5/KytyPS5.git
synced 2026-10-28 08:13:05 +00:00
Initial commit
This commit is contained in:
commit
147188b143
427 files changed
+205923
No files matched your search
@@ -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