Ruby: rb_random_interface_t Struct Reference

Ruby 3.0.5p211 (2022-11-24 revision ba5cf0f7c52d4d35cc6a173c89eda98ceffa2dcf)

Data Fields
rb_random_interface_t Struct Reference

`#include <random.h>`

## Data Fields
size_t | default_seed_bits
rb_random_init_func * | init
rb_random_get_int32_func * | get_int32
rb_random_get_bytes_func * | get_bytes
rb_random_get_real_func * | get_real

## Detailed Description

Definition at line 27 of file random.h.

## Field Documentation

## ◆ default_seed_bits

size_t rb_random_interface_t::default_seed_bits

Definition at line 28 of file random.h.

## ◆ get_bytes

rb_random_get_bytes_func* rb_random_interface_t::get_bytes

Definition at line 31 of file random.h.

## ◆ get_int32

rb_random_get_int32_func* rb_random_interface_t::get_int32

Definition at line 30 of file random.h.

## ◆ get_real

rb_random_get_real_func* rb_random_interface_t::get_real

Definition at line 32 of file random.h.

## ◆ init

rb_random_init_func* rb_random_interface_t::init

Definition at line 29 of file random.h.

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

- include/ruby/random.h