mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-06-01 07:18:22 -04:00
ams: support building unit test programs on windows/linux/macos
This commit is contained in:
parent
9a38be201a
commit
64a97576d0
756 changed files with 33359 additions and 9372 deletions
|
@ -82,7 +82,7 @@ namespace ams::htc::server {
|
|||
|
||||
Result HtcmiscImpl::GetEnvironmentVariable(size_t *out_size, char *dst, size_t dst_size, const char *name, size_t name_size) {
|
||||
/* Begin the task. */
|
||||
u32 task_id;
|
||||
u32 task_id{};
|
||||
R_TRY(m_rpc_client.Begin<rpc::GetEnvironmentVariableTask>(std::addressof(task_id), name, name_size));
|
||||
|
||||
/* Wait for the task to complete. */
|
||||
|
@ -96,7 +96,7 @@ namespace ams::htc::server {
|
|||
|
||||
Result HtcmiscImpl::GetEnvironmentVariableLength(size_t *out_size, const char *name, size_t name_size) {
|
||||
/* Begin the task. */
|
||||
u32 task_id;
|
||||
u32 task_id{};
|
||||
R_TRY(m_rpc_client.Begin<rpc::GetEnvironmentVariableLengthTask>(std::addressof(task_id), name, name_size));
|
||||
|
||||
/* Wait for the task to complete. */
|
||||
|
@ -110,7 +110,7 @@ namespace ams::htc::server {
|
|||
|
||||
Result HtcmiscImpl::RunOnHostBegin(u32 *out_task_id, os::NativeHandle *out_event, const char *args, size_t args_size) {
|
||||
/* Begin the task. */
|
||||
u32 task_id;
|
||||
u32 task_id{};
|
||||
R_TRY(m_rpc_client.Begin<rpc::RunOnHostTask>(std::addressof(task_id), args, args_size));
|
||||
|
||||
/* Detach the task. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue