|
Ruby 4.1.0dev (2026-10-21 revision 536dc6f98b72e6999a84bb6373562c43cb1ddf8a)
|
Ownership of arenas from C++. More...

Go to the source code of this file.
Data Structures | |
| struct | prism::arena_deleter |
| Frees an arena with pm_arena_free. More... | |
Typedefs | |
| using | prism::unique_arena = std::unique_ptr< pm_arena_t, arena_deleter > |
| An owned arena. | |
Functions | |
| unique_arena | prism::make_arena () noexcept |
| Allocate a new arena. | |
Ownership of arenas from C++.
Definition in file arena.hpp.
| using prism::unique_arena = typedef std::unique_ptr<pm_arena_t, arena_deleter> |
|
inlinenoexcept |
Allocate a new arena.
Allocation failure aborts, so this never throws.
Definition at line 36 of file arena.hpp.
Referenced by prism::make_arena().