diff options
author | Andreas Kling <kling@serenityos.org> | 2021-11-06 10:14:14 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-11-08 00:35:27 +0100 |
commit | 56992f90b7908d6665a9581e28452462ba563d2f (patch) | |
tree | 9dd56e64762d7aa96b8b84857d2ecf63df772eed /Kernel/Heap | |
parent | e2eabb41321bbac5d9b2aca1930f734379e490ab (diff) | |
download | serenity-56992f90b7908d6665a9581e28452462ba563d2f.zip |
AK: Add adopt_nonnull_ref_or_enomem() for userspace
We already had this mechanism in the kernel. Let's have it in userspace
as well. This return an ErrorOr<NonnullRefPt<T>>. :^)
Diffstat (limited to 'Kernel/Heap')
0 files changed, 0 insertions, 0 deletions