Ruby  2.5.0dev(2017-10-22revision60238)
Functions | Variables
miniinit.c File Reference
#include "ruby/ruby.h"
#include "ruby/encoding.h"

Go to the source code of this file.

Functions

VALUE rb_locale_charmap (VALUE klass)
 
int rb_locale_charmap_index (void)
 
int Init_enc_set_filesystem_encoding (void)
 
void rb_encdb_declare (const char *name)
 
int rb_encdb_alias (const char *alias, const char *orig)
 
void Init_enc (void)
 

Variables

const char ruby_exec_prefix [] = ""
 
const char ruby_initial_load_paths [] = ""
 

Function Documentation

◆ Init_enc()

void Init_enc ( void  )

Definition at line 42 of file miniinit.c.

References rb_encdb_alias(), rb_encdb_declare(), and require.

◆ Init_enc_set_filesystem_encoding()

int Init_enc_set_filesystem_encoding ( void  )

◆ rb_encdb_alias()

int rb_encdb_alias ( const char *  alias,
const char *  orig 
)

Definition at line 572 of file encoding.c.

References rb_enc_registered().

Referenced by Init_enc(), and Init_enc_set_filesystem_encoding().

◆ rb_encdb_declare()

void rb_encdb_declare ( const char *  name)

Definition at line 357 of file encoding.c.

References rb_enc_registered().

Referenced by Init_enc(), and Init_enc_set_filesystem_encoding().

◆ rb_locale_charmap()

VALUE rb_locale_charmap ( VALUE  klass)

Definition at line 21 of file miniinit.c.

References Qnil.

◆ rb_locale_charmap_index()

int rb_locale_charmap_index ( void  )

Definition at line 28 of file miniinit.c.

Referenced by rb_locale_encindex(), and rb_usascii_encindex().

Variable Documentation

◆ ruby_exec_prefix

const char ruby_exec_prefix[] = ""

Definition at line 16 of file miniinit.c.

◆ ruby_initial_load_paths

const char ruby_initial_load_paths[] = ""

Definition at line 17 of file miniinit.c.

Referenced by ruby_init_loadpath_safe().