mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 07:27:45 +00:00
LibCore: Add a Core::System wrapper for memory allocation
Allocating raw memory isn't something we do often, but it does happen. Let's make it comfier.
This commit is contained in:
parent
89ef3ed4ce
commit
57497c6ab2
2 changed files with 10 additions and 0 deletions
|
@ -280,4 +280,6 @@ char** environment();
|
|||
|
||||
ErrorOr<String> current_executable_path();
|
||||
|
||||
ErrorOr<Bytes> allocate(size_t count, size_t size);
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue