|
Ruby 4.1.0dev (2026-04-04 revision 3b6245536cf55da9e8bfcdb03c845fe9ef931d7f)
|
A generic string type that can have various ownership semantics. More...
#include <stringy.h>
Public Types | |
| enum | { PM_STRING_CONSTANT , PM_STRING_SHARED , PM_STRING_OWNED } |
| The type of the string. More... | |
Data Fields | |
| const uint8_t * | source |
| A pointer to the start of the string. | |
| size_t | length |
| The length of the string in bytes of memory. | |
| enum pm_string_t:: { ... } | type |
| The type of the string. | |
A generic string type that can have various ownership semantics.
| anonymous enum |
The type of the string.
This field determines how the string should be freed.
| size_t pm_string_t::length |
| const uint8_t* pm_string_t::source |
| enum { ... } pm_string_t::type |
The type of the string.
This field determines how the string should be freed.