Ruby: inits.c File Reference

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

Macros | Functions
inits.c File Reference
`#include "internal/inits.h"`
`#include "ruby.h"`
`#include "builtin.h"`
`#include "prelude.rbinc"`

Go to the source code of this file.

## Macros
#define | CALL(n) {void Init_##n(void); Init_##n();}
#define | BUILTIN(n) CALL(builtin_##n)

## Functions
void | rb_call_inits (void)
void | rb_call_builtin_inits (void)

## Macro Definition Documentation

## ◆ BUILTIN

#define BUILTIN | ( |  | n | ) | CALL(builtin_##n)

## ◆ CALL

#define CALL | ( |  | n | ) | {void Init_##n(void); Init_##n();}

Definition at line 18 of file inits.c.

## Function Documentation

## ◆ rb_call_builtin_inits()

void rb_call_builtin_inits | ( | void |  | ) |

Definition at line 85 of file inits.c.

References BUILTIN.

## ◆ rb_call_inits()

void rb_call_inits | ( | void |  | ) |

Definition at line 21 of file inits.c.

References CALL, load(), and sym.

Referenced by ruby_setup().