mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-13 14:44:23 -04:00
ams: globally prefer R_RETURN to return for ams::Result
This commit is contained in:
parent
dd78ede99f
commit
bbf22b4c60
325 changed files with 1955 additions and 1993 deletions
|
@ -43,15 +43,15 @@ namespace ams::socket {
|
|||
}
|
||||
|
||||
Result Initialize(const Config &config) {
|
||||
return impl::Initialize(config);
|
||||
R_RETURN(impl::Initialize(config));
|
||||
}
|
||||
|
||||
Result Finalize() {
|
||||
return impl::Finalize();
|
||||
R_RETURN(impl::Finalize());
|
||||
}
|
||||
|
||||
Result InitializeAllocatorForInternal(void *buffer, size_t size) {
|
||||
return impl::InitializeAllocatorForInternal(buffer, size);
|
||||
R_RETURN(impl::InitializeAllocatorForInternal(buffer, size));
|
||||
}
|
||||
|
||||
ssize_t RecvFrom(s32 desc, void *buffer, size_t buffer_size, MsgFlag flags, SockAddr *out_address, SockLenT *out_addr_len){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue