mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-06-01 07:18:22 -04:00
htcs: hook service objects up to (unimplemented) manager apis
This commit is contained in:
parent
f0ef9fb918
commit
61929d6e21
11 changed files with 396 additions and 41 deletions
|
@ -206,11 +206,11 @@ namespace ams::sf {
|
|||
}
|
||||
|
||||
constexpr explicit operator Span<const T>() const {
|
||||
return {this->GetPointer(), static_cast<ptrdiff_t>(this->GetSize())};
|
||||
return {this->GetPointer(), this->GetSize()};
|
||||
}
|
||||
|
||||
constexpr Span<const T> ToSpan() const {
|
||||
return {this->GetPointer(), static_cast<ptrdiff_t>(this->GetSize())};
|
||||
return {this->GetPointer(), this->GetSize()};
|
||||
}
|
||||
};
|
||||
|
||||
|
@ -238,11 +238,11 @@ namespace ams::sf {
|
|||
}
|
||||
|
||||
constexpr explicit operator Span<T>() const {
|
||||
return {this->GetPointer(), static_cast<ptrdiff_t>(this->GetSize())};
|
||||
return {this->GetPointer(), this->GetSize()};
|
||||
}
|
||||
|
||||
constexpr Span<T> ToSpan() const {
|
||||
return {this->GetPointer(), static_cast<ptrdiff_t>(this->GetSize())};
|
||||
return {this->GetPointer(), this->GetSize()};
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue