Ruby 3.1.3p185 (2022-11-24 revision 1a6b16756e0ba6b95ab71a441357ed5484e33498)
Data Fields
rb_ractor_local_storage_type Struct Reference

Type that defines a ractor-local storage. More...

#include <ractor.h>

Data Fields

void(* mark )(void *ptr)
 A function to mark a ractor-local storage. More...
 
void(* free )(void *ptr)
 A function to destruct a ractor-local storage. More...
 

Detailed Description

Type that defines a ractor-local storage.

Definition at line 10866 of file rb_mjit_min_header-3.1.3.h.

Field Documentation

◆ free

void(* rb_ractor_local_storage_type::free)(void *ptr)

A function to destruct a ractor-local storage.

Parameters
[out]ptrA ractor-local storage.
Postcondition
ptr is not a valid pointer.

Definition at line 10868 of file rb_mjit_min_header-3.1.3.h.

◆ mark

void(* rb_ractor_local_storage_type::mark)(void *ptr)

A function to mark a ractor-local storage.

Parameters
[out]ptrA ractor-local storage.
Postcondition
Ruby objects inside of ptr are marked.

Definition at line 10867 of file rb_mjit_min_header-3.1.3.h.


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