Initial commit

This commit is contained in:
nmzik
2026-07-16 10:21:41 +02:00
commit 147188b143
427 changed files with 205923 additions and 0 deletions
+25
View File
@@ -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_ */