Ruby: ptr_data Struct Reference

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

Data Fields
ptr_data Struct Reference

## Data Fields
void * | ptr
long | size
freefunc_t | free
bool | freed
VALUE | wrap [2]

## Detailed Description

Definition at line 29 of file pointer.c.

## Field Documentation

## ◆ free

freefunc_t ptr_data::free

Definition at line 32 of file pointer.c.

## ◆ freed

bool ptr_data::freed

Definition at line 33 of file pointer.c.

## ◆ ptr

void* ptr_data::ptr

Definition at line 30 of file pointer.c.

## ◆ size

long ptr_data::size

Definition at line 31 of file pointer.c.

## ◆ wrap

VALUE ptr_data::wrap[2]

Definition at line 34 of file pointer.c.

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

- ext/fiddle/pointer.c