Ruby: rb_event_hook_struct Struct Reference

Ruby 4.0.6p0 (2026-07-14 revision 03b6d3f8898a28604fe6cb00eae3226b821168f4)

Data Fields
rb_event_hook_struct Struct Reference

## Data Fields
rb_event_hook_flag_t | hook_flags
rb_event_flag_t | events
rb_event_hook_func_t | func
VALUE | data
struct rb_event_hook_struct * | next
struct { |
rb_thread_t * th |
unsigned int target_line |
} | filter

## Detailed Description

Definition at line 47 of file vm_trace.c.

## Field Documentation

## ◆ data

VALUE rb_event_hook_struct::data

Definition at line 51 of file vm_trace.c.

## ◆ events

rb_event_flag_t rb_event_hook_struct::events

Definition at line 49 of file vm_trace.c.

## ◆ func

rb_event_hook_func_t rb_event_hook_struct::func

Definition at line 50 of file vm_trace.c.

## ◆ hook_flags

rb_event_hook_flag_t rb_event_hook_struct::hook_flags

Definition at line 48 of file vm_trace.c.

## ◆ next

struct rb_event_hook_struct* rb_event_hook_struct::next

Definition at line 52 of file vm_trace.c.

## ◆ target_line

unsigned int rb_event_hook_struct::target_line

Definition at line 56 of file vm_trace.c.

## ◆ th

rb_thread_t* rb_event_hook_struct::th

Definition at line 55 of file vm_trace.c.

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

- vm_trace.c