|
Prism Ruby parser
|
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++.
|
inlinenoexcept |
Allocate a new arena.
Allocation failure aborts, so this never throws.