Ruby: pm_string_list_t Struct Reference

Ruby 3.3.6p108 (2024-11-05 revision 75015d4c1f6965b5e85e96fb309f1f2129f933c0)

Data Fields
pm_string_list_t Struct Reference

A list of strings. More...

`#include <pm_string_list.h>`

## Data Fields
size_t | length
| The length of the string list.
size_t | capacity
| The capacity of the string list that has been allocated.
pm_string_t * | strings
| A pointer to the start of the string list.

## Detailed Description

A list of strings.

Definition at line 18 of file pm_string_list.h.

## Field Documentation

## ◆ capacity

size_t pm_string_list_t::capacity

The capacity of the string list that has been allocated.

Definition at line 23 of file pm_string_list.h.

Referenced by pm_string_list_append().

## ◆ length

size_t pm_string_list_t::length

The length of the string list.

Definition at line 20 of file pm_string_list.h.

Referenced by pm_string_list_append().

## ◆ strings

pm_string_t* pm_string_list_t::strings

A pointer to the start of the string list.

Definition at line 26 of file pm_string_list.h.

Referenced by pm_string_list_append(), and pm_string_list_free().

The documentation for this struct was generated from the following file:

- prism/util/pm_string_list.h