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

Go to the source code of this file.
Data Structures | |
| struct | prism::options_deleter |
| Frees options with pm_options_free. More... | |
Typedefs | |
| using | prism::unique_options = std::unique_ptr< pm_options_t, options_deleter > |
| An owned set of options. | |
Functions | |
| unique_options | prism::make_options () noexcept |
| Allocate a new set of options with every option at its default. | |
Ownership of parse options from C++.
Definition in file options.hpp.
| using prism::unique_options = typedef std::unique_ptr<pm_options_t, options_deleter> |
An owned set of options.
Definition at line 28 of file options.hpp.
|
inlinenoexcept |
Allocate a new set of options with every option at its default.
Allocation failure aborts, so this never throws.
Definition at line 37 of file options.hpp.
Referenced by prism::make_options().