Ruby: eval_jump.c File Reference

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

Data Structures | Functions
eval_jump.c File Reference
`#include "eval_intern.h"`

Go to the source code of this file.

## Data Structures
struct | end_proc_data

## Functions
void | rb_call_end_proc (VALUE data)
void | rb_set_end_proc (void(*func)(VALUE), VALUE data)
void | rb_mark_end_proc (void)
void | Init_jump (void)

## Function Documentation

## ◆ Init_jump()

void Init_jump | ( | void |  | ) |

Definition at line 135 of file eval_jump.c.

References rb_define_global_function.

## ◆ rb_call_end_proc()

void rb_call_end_proc | ( | VALUE | data | ) |

Definition at line 11 of file eval_jump.c.

References rb_ary_new(), and rb_proc_call().

## ◆ rb_mark_end_proc()

void rb_mark_end_proc | ( | void |  | ) |

Definition at line 78 of file eval_jump.c.

References link(), and rb_gc_mark().

## ◆ rb_set_end_proc()

void rb_set_end_proc | ( | void(*)(VALUE) | func,
|  | VALUE | data
| ) |  |

Definition at line 59 of file eval_jump.c.

References ALLOC, end_proc_data::data, end_proc_data::func, link(), and rb_thread_struct::top_wrapper.