Ruby 3.3.4p94 (2024-07-09 revision be1089c8ec5ba40e09b1553e36b3174bf4014d9d)
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 148 of file extension.c.

Field Documentation

◆ keywords

VALUE build_options_data::keywords

Definition at line 150 of file extension.c.

◆ options

pm_options_t* build_options_data::options

Definition at line 149 of file extension.c.


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