Ruby  2.5.0dev(2017-10-22revision60238)
Macros | Functions
readline.c File Reference
#include "ruby/config.h"
#include <errno.h>
#include <stdio.h>
#include <string.h>
#include "ruby/io.h"
#include "ruby/thread.h"

Go to the source code of this file.

Macros

#define EDIT_LINE_LIBRARY_VERSION   "EditLine wrapper"
 
#define USE_INSERT_IGNORE_ESCAPE   0
 
#define COMPLETION_PROC   "completion_proc"
 
#define COMPLETION_CASE_FOLD   "completion_case_fold"
 
#define rl_filename_completion_function   filename_completion_function
 
#define rl_username_completion_function   username_completion_function
 
#define rl_completion_matches   completion_matches
 
#define OutputStringValue(str)
 
#define readline_s_set_pre_input_hook   rb_f_notimplement
 
#define readline_s_get_pre_input_hook   rb_f_notimplement
 
#define readline_s_insert_text   rb_f_notimplement
 
#define readline_s_delete_text   rb_f_notimplement
 
#define readline_s_redisplay   rb_f_notimplement
 
#define readline_s_set_quoting_detection_proc   rb_f_notimplement
 
#define readline_s_get_quoting_detection_proc   rb_f_notimplement
 
#define readline_s_get_line_buffer   rb_f_notimplement
 
#define readline_s_get_point   rb_f_notimplement
 
#define readline_s_set_point   rb_f_notimplement
 
#define readline_s_set_screen_size   rb_f_notimplement
 
#define readline_s_get_screen_size   rb_f_notimplement
 
#define readline_s_vi_editing_mode   rb_f_notimplement
 
#define readline_s_vi_editing_mode_p   rb_f_notimplement
 
#define readline_s_emacs_editing_mode   rb_f_notimplement
 
#define readline_s_emacs_editing_mode_p   rb_f_notimplement
 
#define readline_s_set_completion_append_character   rb_f_notimplement
 
#define readline_s_get_completion_append_character   rb_f_notimplement
 
#define readline_s_set_basic_word_break_characters   rb_f_notimplement
 
#define readline_s_get_basic_word_break_characters   rb_f_notimplement
 
#define readline_s_set_completer_word_break_characters   rb_f_notimplement
 
#define readline_s_get_completer_word_break_characters   rb_f_notimplement
 
#define readline_s_set_special_prefixes   rb_f_notimplement
 
#define readline_s_get_special_prefixes   rb_f_notimplement
 
#define readline_s_set_basic_quote_characters   rb_f_notimplement
 
#define readline_s_get_basic_quote_characters   rb_f_notimplement
 
#define readline_s_set_completer_quote_characters   rb_f_notimplement
 
#define readline_s_get_completer_quote_characters   rb_f_notimplement
 
#define readline_s_set_filename_quote_characters   rb_f_notimplement
 
#define readline_s_get_filename_quote_characters   rb_f_notimplement
 
#define readline_s_refresh_line   rb_f_notimplement
 
#define hist_set   rb_f_notimplement
 
#define hist_clear   rb_f_notimplement
 

Functions

void Init_readline (void)
 

Macro Definition Documentation

◆ COMPLETION_CASE_FOLD

#define COMPLETION_CASE_FOLD   "completion_case_fold"

Definition at line 59 of file readline.c.

◆ COMPLETION_PROC

#define COMPLETION_PROC   "completion_proc"

Definition at line 58 of file readline.c.

◆ EDIT_LINE_LIBRARY_VERSION

#define EDIT_LINE_LIBRARY_VERSION   "EditLine wrapper"

Definition at line 49 of file readline.c.

◆ hist_clear

#define hist_clear   rb_f_notimplement

Definition at line 1834 of file readline.c.

◆ hist_set

#define hist_set   rb_f_notimplement

Definition at line 1717 of file readline.c.

◆ OutputStringValue

#define OutputStringValue (   str)
Value:
do {\
StringValueCStr(str);\
rb_check_safe_obj(str);\
(str) = rb_str_conv_enc((str), rb_enc_get(str), rb_locale_encoding());\
} while (0)\
VALUE rb_str_conv_enc(VALUE str, rb_encoding *from, rb_encoding *to)
Definition: string.c:1002
rb_encoding * rb_locale_encoding(void)
Definition: encoding.c:1370
rb_encoding * rb_enc_get(VALUE obj)
Definition: encoding.c:860

Definition at line 94 of file readline.c.

◆ readline_s_delete_text

#define readline_s_delete_text   rb_f_notimplement

Definition at line 742 of file readline.c.

◆ readline_s_emacs_editing_mode

#define readline_s_emacs_editing_mode   rb_f_notimplement

Definition at line 1203 of file readline.c.

◆ readline_s_emacs_editing_mode_p

#define readline_s_emacs_editing_mode_p   rb_f_notimplement

Definition at line 1221 of file readline.c.

◆ readline_s_get_basic_quote_characters

#define readline_s_get_basic_quote_characters   rb_f_notimplement

Definition at line 1528 of file readline.c.

◆ readline_s_get_basic_word_break_characters

#define readline_s_get_basic_word_break_characters   rb_f_notimplement

Definition at line 1358 of file readline.c.

◆ readline_s_get_completer_quote_characters

#define readline_s_get_completer_quote_characters   rb_f_notimplement

Definition at line 1584 of file readline.c.

◆ readline_s_get_completer_word_break_characters

#define readline_s_get_completer_word_break_characters   rb_f_notimplement

Definition at line 1413 of file readline.c.

◆ readline_s_get_completion_append_character

#define readline_s_get_completion_append_character   rb_f_notimplement

Definition at line 1303 of file readline.c.

◆ readline_s_get_filename_quote_characters

#define readline_s_get_filename_quote_characters   rb_f_notimplement

Definition at line 1638 of file readline.c.

◆ readline_s_get_line_buffer

#define readline_s_get_line_buffer   rb_f_notimplement

Definition at line 953 of file readline.c.

◆ readline_s_get_point

#define readline_s_get_point   rb_f_notimplement

Definition at line 996 of file readline.c.

◆ readline_s_get_pre_input_hook

#define readline_s_get_pre_input_hook   rb_f_notimplement

Definition at line 665 of file readline.c.

◆ readline_s_get_quoting_detection_proc

#define readline_s_get_quoting_detection_proc   rb_f_notimplement

Definition at line 896 of file readline.c.

◆ readline_s_get_screen_size

#define readline_s_get_screen_size   rb_f_notimplement

Definition at line 1145 of file readline.c.

◆ readline_s_get_special_prefixes

#define readline_s_get_special_prefixes   rb_f_notimplement

Definition at line 1475 of file readline.c.

◆ readline_s_insert_text

#define readline_s_insert_text   rb_f_notimplement

Definition at line 687 of file readline.c.

◆ readline_s_redisplay

#define readline_s_redisplay   rb_f_notimplement

Definition at line 764 of file readline.c.

◆ readline_s_refresh_line

#define readline_s_refresh_line   rb_f_notimplement

Definition at line 1656 of file readline.c.

◆ readline_s_set_basic_quote_characters

#define readline_s_set_basic_quote_characters   rb_f_notimplement

Definition at line 1508 of file readline.c.

◆ readline_s_set_basic_word_break_characters

#define readline_s_set_basic_word_break_characters   rb_f_notimplement

Definition at line 1337 of file readline.c.

◆ readline_s_set_completer_quote_characters

#define readline_s_set_completer_quote_characters   rb_f_notimplement

Definition at line 1563 of file readline.c.

◆ readline_s_set_completer_word_break_characters

#define readline_s_set_completer_word_break_characters   rb_f_notimplement

Definition at line 1392 of file readline.c.

◆ readline_s_set_completion_append_character

#define readline_s_set_completion_append_character   rb_f_notimplement

Definition at line 1278 of file readline.c.

◆ readline_s_set_filename_quote_characters

#define readline_s_set_filename_quote_characters   rb_f_notimplement

Definition at line 1617 of file readline.c.

◆ readline_s_set_point

#define readline_s_set_point   rb_f_notimplement

Definition at line 997 of file readline.c.

◆ readline_s_set_pre_input_hook

#define readline_s_set_pre_input_hook   rb_f_notimplement

Definition at line 664 of file readline.c.

◆ readline_s_set_quoting_detection_proc

#define readline_s_set_quoting_detection_proc   rb_f_notimplement

Definition at line 895 of file readline.c.

◆ readline_s_set_screen_size

#define readline_s_set_screen_size   rb_f_notimplement

Definition at line 1118 of file readline.c.

◆ readline_s_set_special_prefixes

#define readline_s_set_special_prefixes   rb_f_notimplement

Definition at line 1474 of file readline.c.

◆ readline_s_vi_editing_mode

#define readline_s_vi_editing_mode   rb_f_notimplement

Definition at line 1165 of file readline.c.

◆ readline_s_vi_editing_mode_p

#define readline_s_vi_editing_mode_p   rb_f_notimplement

Definition at line 1183 of file readline.c.

◆ rl_completion_matches

#define rl_completion_matches   completion_matches

Definition at line 82 of file readline.c.

◆ rl_filename_completion_function

#define rl_filename_completion_function   filename_completion_function

Definition at line 76 of file readline.c.

◆ rl_username_completion_function

#define rl_username_completion_function   username_completion_function

Definition at line 79 of file readline.c.

◆ USE_INSERT_IGNORE_ESCAPE

#define USE_INSERT_IGNORE_ESCAPE   0

Definition at line 54 of file readline.c.

Function Documentation

◆ Init_readline()

void Init_readline ( void  )

Definition at line 1889 of file readline.c.