mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-06 17:48:37 +00:00
Kernel: Annotate all KBuffer
and DoubleBuffer
with a custom name
This commit is contained in:
parent
d6d1ae667d
commit
3b3af58cf6
Notes:
sideshowbarker
2024-07-18 03:20:18 +09:00
Author: https://github.com/timschumi
Commit: 3b3af58cf6
Pull-request: https://github.com/SerenityOS/serenity/pull/14558
Reviewed-by: https://github.com/IdanHo
Reviewed-by: https://github.com/kleinesfilmroellchen ✅
19 changed files with 32 additions and 32 deletions
|
@ -16,7 +16,7 @@ namespace Kernel {
|
|||
|
||||
class DoubleBuffer {
|
||||
public:
|
||||
static ErrorOr<NonnullOwnPtr<DoubleBuffer>> try_create(size_t capacity = 65536);
|
||||
static ErrorOr<NonnullOwnPtr<DoubleBuffer>> try_create(StringView name, size_t capacity = 65536);
|
||||
ErrorOr<size_t> write(UserOrKernelBuffer const&, size_t);
|
||||
ErrorOr<size_t> write(u8 const* data, size_t size)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue