Defines | |
| #define | RUBY_METHOD_FUNC(func) ((VALUE (*)(ANYARGS))func) |
Functions | |
| void | rb_obj_infect (VALUE, VALUE) |
| void | rb_glob (char *, void(*(const char *, VALUE), VALUE)) |
| void | rb_globi (char *, void(*(const char *, VALUE), VALUE)) |
| VALUE | rb_define_class (const char *, VALUE) |
| VALUE | rb_define_module (const char *) |
| VALUE | rb_define_class_under (VALUE, const char *, VALUE) |
| VALUE | rb_define_module_under (VALUE, const char *) |
| void | rb_include_module (VALUE, VALUE) |
| void | rb_extend_object (VALUE, VALUE) |
| void | rb_define_variable (const char *, VALUE *) |
| void | rb_define_virtual_variable (const char *, VALUE(*(ANYARGS), void(*)(ANYARGS))) |
| void | rb_define_hooked_variable (const char *, VALUE *, VALUE(*(ANYARGS), void(*)(ANYARGS))) |
| void | rb_define_readonly_variable (const char *, VALUE *) |
| void | rb_define_const (VALUE, const char *, VALUE) |
| void | rb_define_global_const (const char *, VALUE) |
| void | rb_define_method (VALUE, const char *, VALUE(*(ANYARGS), int)) |
| void | rb_define_module_function (VALUE, const char *, VALUE(*(ANYARGS), int)) |
| void | rb_define_global_function (const char *, VALUE(*(ANYARGS), int)) |
| void | rb_undef_method (VALUE, const char *) |
| void | rb_define_alias (VALUE, const char *, const char *) |
| void | rb_define_attr (VALUE, const char *, int, int) |
| void | rb_global_variable (VALUE *) |
| void | rb_gc_register_address (VALUE *) |
| void | rb_gc_unregister_address (VALUE *) |
| ID | rb_intern (const char *) |
| char * | rb_id2name (ID) |
| ID | rb_to_id (VALUE) |
| char * | rb_class2name (VALUE) |
| char * | rb_obj_classname (VALUE) |
| void | rb_p (VALUE) |
| VALUE | rb_eval_string (const char *) |
| VALUE | rb_eval_string_protect (const char *, int *) |
| VALUE | rb_eval_string_wrap (const char *, int *) |
| VALUE | rb_funcall (VALUE, ID, int,...) |
| VALUE | rb_funcall2 (VALUE, ID, int, const VALUE *) |
| VALUE | rb_funcall3 (VALUE, ID, int, const VALUE *) |
| int | rb_scan_args (int, const VALUE *, const char *,...) |
| VALUE | rb_call_super (int, const VALUE *) |
| VALUE | rb_gv_set (const char *, VALUE) |
| VALUE | rb_gv_get (const char *) |
| VALUE | rb_iv_get (VALUE, const char *) |
| VALUE | rb_iv_set (VALUE, const char *, VALUE) |
| VALUE | rb_equal (VALUE, VALUE) |
| void | rb_raise (VALUE, const char *,...) |
| void | rb_fatal (const char *,...) |
| void | rb_bug (const char *,...) |
| void | rb_sys_fail (const char *) |
| void | rb_iter_break (void) |
| void | rb_exit (int) |
| void | rb_notimplement (void) |
| void | rb_warning (const char *,...) |
| void | rb_sys_warning (const char *,...) |
| void | rb_warn (const char *,...) |
| VALUE | rb_each (VALUE) |
| VALUE | rb_yield (VALUE) |
| VALUE | rb_yield_values (int n,...) |
| VALUE | rb_yield_splat (VALUE) |
| int | rb_block_given_p (void) |
| VALUE | rb_iterate (VALUE(*(VALUE), VALUE, VALUE(*)(ANYARGS), VALUE)) |
| VALUE | rb_rescue (VALUE(*(ANYARGS), VALUE, VALUE(*)(ANYARGS), VALUE)) |
| VALUE | rb_rescue2 (VALUE(*(ANYARGS), VALUE, VALUE(*)(ANYARGS), VALUE,...)) |
| VALUE | rb_ensure (VALUE(*(ANYARGS), VALUE, VALUE(*)(ANYARGS), VALUE)) |
| VALUE | rb_catch (const char *, VALUE(*(ANYARGS), VALUE)) |
| void | rb_throw (const char *, VALUE) |
| VALUE | rb_require (const char *) |
| void | ruby_init (void) |
| void | ruby_options (int, char **) |
| void | ruby_run (void) |
Variables | |
| RUBY_EXTERN VALUE | ruby_verbose |
| RUBY_EXTERN VALUE | ruby_debug |
|
|
|
|
|
||||||||||||
|
This function does not return. Definition at line 193 of file error.c. References args, err_position(), ruby_platform, ruby_release_date, ruby_version, and va_init_list. Referenced by arg_prepend(), assign(), class_prefix(), classname(), error_handle(), garbage_collect(), gc_mark_children(), obj_free(), prep_path(), rb_call0(), rb_check_type(), rb_eval(), rb_kcode(), rb_mod_modfunc(), rb_reg_kcode_m(), rb_singleton_class(), rb_struct_eql(), rb_struct_equal(), rb_struct_s_members(), rb_sys_fail(), rb_thread_restore_context(), rb_thread_schedule(), sighandler(), and unknown_node(). |
|
||||||||||||
|
Definition at line 6081 of file eval.c. References CSTAT_SUPER, iter::iter, ITER_NOT, ITER_PRE, FRAME::last_class, FRAME::last_func, method_missing(), FRAME::orig_func, POP_ITER, PUSH_ITER, rb_call(), rb_id2name(), rb_name_error(), RCLASS, ruby_frame, ruby_iter, FRAME::self, and VALUE. Referenced by exit_initialize(), name_err_initialize(), rb_eval(), and syserr_initialize(). |
|
||||||||||||
|
|
|
|
Definition at line 293 of file variable.c. References rb_class_name(), RSTRING, and VALUE. Referenced by cvar_override_check(), inspect_struct(), method_inspect(), method_missing(), prec_induced_from(), print_undef(), proc_invoke(), pst_inspect(), r_object0(), rb_add_method(), rb_call0(), rb_class_path(), rb_const_get_0(), rb_cvar_get(), rb_define_class_under(), rb_define_module_under(), rb_io_s_new(), rb_mod_remove_const(), rb_mod_remove_cvar(), rb_obj_classname(), rb_struct_inspect(), rb_thread_s_new(), rb_undef(), remove_method(), umethod_bind(), uninitialized_constant(), and w_extended(). |
|
||||||||||||||||
|
Definition at line 923 of file class.c. References rb_alias(), rb_intern(), and VALUE. Referenced by Init_Array(), Init_IO(), and Init_process(). |
|
||||||||||||||||||||
|
Definition at line 931 of file class.c. References name, Qfalse, rb_attr(), rb_intern(), and VALUE. |
|
||||||||||||
|
||||||||||||||||
|
Definition at line 241 of file class.c. References ID, name, rb_class2name(), rb_class_inherited(), rb_class_real(), rb_const_defined_at(), rb_const_get_at(), rb_const_set(), rb_define_class_id(), rb_eTypeError, rb_intern(), rb_name_error(), rb_raise(), rb_set_class_path(), rb_warn(), RCLASS, T_CLASS, TYPE, and VALUE. Referenced by Init_Exception(), Init_File(), Init_process(), make_struct(), and set_syserr(). |
|
||||||||||||||||
|
Definition at line 1678 of file variable.c. References ID, name, rb_cObject, rb_const_set(), rb_intern(), rb_is_const_id(), rb_secure(), rb_warn(), and VALUE. Referenced by Init_File(), Init_IO(), Init_marshal(), Init_Math(), Init_Numeric(), Init_process(), Init_Regexp(), Init_Thread(), rb_define_global_const(), rb_file_const(), and set_syserr(). |
|
||||||||||||
|
|
|
||||||||||||
|
Referenced by Init_Binding(), Init_eval(), Init_Exception(), Init_File(), Init_IO(), Init_load(), Init_Object(), Init_Proc(), Init_process(), Init_Random(), Init_signal(), Init_String(), and Init_Thread(). |
|
||||||||||||||||
|
|
|
||||||||||||||||
|
|
Referenced by Init_Comparable(), Init_Enumerable(), Init_Exception(), Init_File(), Init_GC(), Init_marshal(), Init_Math(), Init_Object(), Init_Precision(), Init_process(), and Init_signal(). |
|
||||||||||||||||
|
Referenced by define_filetest_function(), Init_GC(), Init_marshal(), Init_Math(), Init_process(), Init_signal(), and rb_define_global_function(). |
|
||||||||||||
|
Definition at line 320 of file class.c. References ID, name, rb_class2name(), rb_const_defined_at(), rb_const_get_at(), rb_const_set(), rb_define_module_id(), rb_eTypeError, rb_intern(), rb_obj_classname(), rb_raise(), rb_set_class_path(), T_MODULE, TYPE, and VALUE. Referenced by Init_File(), and Init_process(). |
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
|
Definition at line 21 of file enum.c. References id_each, rb_funcall(), and VALUE. Referenced by argf_each_line(), enum_all(), enum_any(), enum_collect(), enum_each_with_index(), enum_find(), enum_find_all(), enum_grep(), enum_inject(), enum_max(), enum_member(), enum_min(), enum_partition(), enum_reject(), enum_sort_by(), enum_to_a(), and enum_zip(). |
|
|
||||||||||||
|
Definition at line 46 of file object.c. References id_eq, Qfalse, Qtrue, rb_funcall(), RTEST, and VALUE. Referenced by equal_i(), hash_equal(), index_i(), Init_Object(), member_i(), num_eql(), num_remainder(), num_step(), num_zero_p(), pst_equal(), range_eq(), range_step(), rb_ary_assoc(), rb_ary_delete(), rb_ary_equal(), rb_ary_includes(), rb_ary_index(), rb_ary_rassoc(), rb_ary_rindex(), rb_big_eq(), rb_hash_search_value(), rb_str_equal(), rb_struct_equal(), and syserr_eqq(). |
|
|
|
|
||||||||||||
|
Referenced by rb_eval_string_wrap(). |
|
||||||||||||
|
|
|
|
This function does not return. Definition at line 4334 of file eval.c. References prot_tag, rb_str_new(), ruby_finalize(), and terminate_process(). Referenced by rb_f_abort(), rb_f_exit(), rb_thread_kill(), and rb_thread_signal_exit(). |
|
||||||||||||
|
Definition at line 7418 of file eval.c. References rb_include_module(), rb_singleton_class(), and VALUE. Referenced by Init_Hash(), Init_IO(), r_object0(), rb_eval(), rb_eval_string_wrap(), rb_load(), and rb_mod_extend_object(). |
|
||||||||||||
|
This function does not return. Definition at line 1092 of file error.c. References args, rb_eFatal, rb_exc_fatal(), rb_exc_new2(), ruby_in_eval, va_init_list, and vsnprintf(). Referenced by load_file(), next_argv(), proc_options(), and rb_scan_args(). |
|
||||||||||||||||||||
|
||||||||||||||||||||
|
Definition at line 6061 of file eval.c. References CLASS_OF, ID, rb_call(), and VALUE. Referenced by marshal_dump(), marshal_load(), method_missing(), r_byte(), r_bytes0(), rb_eval(), rb_eval_cmd(), rb_obj_call_init(), and rb_obj_respond_to(). |
|
||||||||||||||||||||
|
Definition at line 6071 of file eval.c. References CLASS_OF, ID, rb_call(), and VALUE. Referenced by argf_close(), argf_forward(), argf_getc(), rb_f_getc(), and rb_f_gets(). |
|
|
Definition at line 236 of file gc.c. References ALLOC, global_List, VALUE, and gc_list::varptr. Referenced by Init_GC(), and rb_global_variable(). |
|
|
Definition at line 248 of file gc.c. References free, global_List, gc_list::next, RUBY_CRITICAL, and VALUE. Referenced by Init_GC(). |
|
||||||||||||
|
|
|
|
Definition at line 273 of file gc.c. References rb_gc_register_address(), and VALUE. Referenced by Init_eval(), Init_GC(), Init_IO(), Init_load(), Init_Object(), Init_Proc(), Init_Random(), Init_Regexp(), Init_Thread(), and ruby_prog_init(). |
|
||||||||||||
|
|
|
|
|
|
||||||||||||
|
|
|
|
||||||||||||
|
Definition at line 371 of file class.c. References BUILTIN_TYPE, Check_Type, include_class_new(), NIL_P, OBJ_INFECT, OBJ_TAINTED, Qfalse, Qtrue, rb_clear_cache(), rb_eArgError, rb_frozen_class_p(), rb_raise(), rb_secure(), RCLASS, T_CLASS, T_ICLASS, T_MODULE, TYPE, and VALUE. Referenced by Init_Array(), Init_File(), Init_Hash(), Init_IO(), Init_Numeric(), Init_Object(), Init_Range(), Init_String(), Init_Struct(), Init_Time(), rb_eval(), rb_extend_object(), and rb_mod_append_features(). |
|
|
|
This function does not return. Definition at line 4451 of file eval.c. References break_jump(), and Qnil. Referenced by all_i(), all_iter_i(), any_i(), any_iter_i(), find_i(), and member_i(). |
|
|
||||||||||||
|
Definition at line 1939 of file variable.c. References ID, name, rb_intern(), rb_ivar_get(), and VALUE. Referenced by call_trace_func(), localjump_reason(), localjump_xvalue(), method_inspect(), pst_pid(), pst_to_i(), rb_add_method(), rb_alias(), rb_mod_to_s(), rb_singleton_class(), rb_undef(), remove_method(), ruby_cleanup(), and sysexit_status(). |
|
||||||||||||||||
|
Definition at line 1949 of file variable.c. References ID, name, rb_intern(), rb_ivar_set(), and VALUE. Referenced by exc_initialize(), exc_set_backtrace(), exit_initialize(), last_status_set(), localjump_error(), make_struct(), name_err_initialize(), name_err_to_s(), nometh_err_initialize(), rb_name_class(), and syserr_initialize(). |
|
|
This function does not return. Definition at line 1083 of file error.c. References FRAME::last_func, rb_eNotImpError, rb_id2name(), rb_raise(), and |