Ruby: ext/psych/psych_emitter.c File Reference

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

Macros | Functions | Variables
psych_emitter.c File Reference
`#include <psych.h>`

Go to the source code of this file.

## Macros
#define | RARRAY_CONST_PTR(s) (const VALUE *)RARRAY_PTR(s)
#define | RARRAY_AREF(a, i) RARRAY_CONST_PTR(a)[i]

## Functions
void | Init_psych_emitter (void)

## Variables
VALUE | cPsychEmitter

## Macro Definition Documentation

## ◆ RARRAY_AREF

#define RARRAY_AREF | ( |  | a,
|  |  | i
| ) |  | RARRAY_CONST_PTR(a)[i]

Definition at line 7 of file psych_emitter.c.

## ◆ RARRAY_CONST_PTR

#define RARRAY_CONST_PTR | ( |  | s | ) | (const VALUE *)RARRAY_PTR(s)

Definition at line 4 of file psych_emitter.c.

## Function Documentation

## ◆ Init_psych_emitter()

void Init_psych_emitter | ( | void |  | ) |

Definition at line 522 of file psych_emitter.c.

References alias, cPsychEmitter, rb_cObject, rb_define_alloc_func(), rb_define_class_under(), rb_define_method, rb_define_module(), and rb_intern().

Referenced by Init_psych().

## Variable Documentation

## ◆ cPsychEmitter

VALUE cPsychEmitter

Definition at line 10 of file psych_emitter.c.

Referenced by Init_psych_emitter().