Ruby 4.0.10p0 (2026-11-19 revision a704b7cd95a42cc0cf5f307137bf3aac0285b915)
build_options_data Struct Reference

We need a struct here to pass through rb_protect and it has to be a single value. More...

Data Fields

pm_options_t * options
VALUE keywords

Detailed Description

We need a struct here to pass through rb_protect and it has to be a single value.

Because the sizeof(VALUE) == sizeof(void *), we're going to pass this through as an opaque pointer and cast it on both sides.

Definition at line 251 of file extension.c.

Field Documentation

◆ keywords

VALUE build_options_data::keywords

Definition at line 253 of file extension.c.

◆ options

pm_options_t* build_options_data::options

Definition at line 252 of file extension.c.


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