|
Ruby 4.1.0dev (2026-11-13 revision 1d214cd7786e916cd5b198eb58436a5e10b45cc3)
|
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().