Ruby 3.4.3p32 (2025-04-14 revision d0b7e5b6a04bde21ca483d20a1546b28b401c2d4)
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_toptions
 
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 195 of file extension.c.

Field Documentation

◆ keywords

VALUE build_options_data::keywords

Definition at line 197 of file extension.c.

◆ options

pm_options_t* build_options_data::options

Definition at line 196 of file extension.c.


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