diff --git a/include/coreinit/copydata.h b/include/coreinit/copydata.h new file mode 100644 index 00000000..3137b500 --- /dev/null +++ b/include/coreinit/copydata.h @@ -0,0 +1,35 @@ +#pragma once +#include + +/** + * \defgroup coreinit_copydata CopyData + * \ingroup coreinit + * + * @{ + */ + +#ifdef __cplusplus +extern "C" { +#endif + +void +__OSClearCopyData(); + +BOOL +__OSAppendCopyData(const void *data, + uint32_t size); + +void * +__OSGetCopyDataPtr(); + +uint32_t +__OSGetCopyDataSize(); + +BOOL +__OSResizeCopyData(uint32_t size); + +#ifdef __cplusplus +} +#endif + +/** @} */ diff --git a/tests/test_compile_headers_common/test_compile_headers_list.h b/tests/test_compile_headers_common/test_compile_headers_list.h index 14e740c0..de5e1d9f 100644 --- a/tests/test_compile_headers_common/test_compile_headers_list.h +++ b/tests/test_compile_headers_common/test_compile_headers_list.h @@ -7,6 +7,7 @@ #include #include #include +#include #include #include #include