Main Page | Modules | Alphabetical List | Data Structures | File List | Data Fields | Globals

env.h File Reference

Go to the source code of this file.

Data Structures

struct  FRAME
struct  RVarmap
struct  SCOPE

Defines

#define FRAME_ALLOCA   0
#define FRAME_MALLOC   1
#define SCOPE_ALLOCA   0
#define SCOPE_MALLOC   1
#define SCOPE_NOSTACK   2
#define SCOPE_DONT_RECYCLE   4

Functions

void rb_gc_mark_frame (struct FRAME *)

Variables

FRAMEruby_frame
SCOPEruby_scope
int ruby_in_eval
VALUE ruby_class
RVarmapruby_dyna_vars


Define Documentation

#define FRAME_ALLOCA   0
 

Definition at line 33 of file env.h.

Referenced by proc_invoke().

#define FRAME_MALLOC   1
 

Definition at line 34 of file env.h.

Referenced by frame_dup(), frame_free(), and mark_frame_adj().

#define SCOPE_ALLOCA   0
 

Definition at line 43 of file env.h.

Referenced by obj_free(), and rb_load().

#define SCOPE_DONT_RECYCLE   4
 

Definition at line 46 of file env.h.

Referenced by eval(), rb_eval_cmd(), rb_yield_0(), and scope_dup().

#define SCOPE_MALLOC   1
 

Definition at line 44 of file env.h.

Referenced by gc_mark_children(), obj_free(), scope_dup(), and top_local_setup().

#define SCOPE_NOSTACK   2
 

Definition at line 45 of file env.h.

Referenced by block_orphan(), and ruby_init().


Function Documentation

void rb_gc_mark_frame struct FRAME  ) 
 

Definition at line 1263 of file gc.c.

References gc_mark(), mark_locations_array(), and VALUE.

Referenced by blk_mark(), and garbage_collect().


Variable Documentation

VALUE ruby_class
 

Definition at line 50 of file env.h.

Referenced by eval(), rb_eval(), rb_load(), rb_thread_restore_context(), rb_thread_save_context(), ruby_init(), yield_under_i(), and yyparse().

struct RVarmap* ruby_dyna_vars
 

Definition at line 58 of file env.h.

Referenced by dvar_asgn_internal(), dyna_init(), dyna_pop(), dyna_push(), eval(), garbage_collect(), Init_eval(), local_pop(), local_push(), proc_invoke(), rb_callcc(), rb_dvar_curr(), rb_dvar_defined(), rb_dvar_push(), rb_dvar_ref(), rb_f_local_variables(), rb_svar(), rb_thread_restore_context(), rb_thread_save_context(), rb_thread_yield(), rb_yield_0(), top_local_init(), yycompile(), and yyparse().

struct FRAME * ruby_frame
 

Referenced by argf_forward(), backtrace(), block_pass(), call_end_proc(), call_trace_func(), error_pos(), eval(), eval_under_i(), exec_under(), garbage_collect(), is_defined(), module_setup(), num_sadded(), proc_invoke(), rb_block_given_p(), rb_call(), rb_call0(), rb_call_super(), rb_check_safe_obj(), rb_eval(), rb_eval_cmd(), rb_eval_string_wrap(), rb_f_binding(), rb_f_block_given_p(), rb_f_END(), rb_f_eval(), rb_frame_last_func(), rb_load(), rb_longjmp(), rb_method_missing(), rb_mod_const_missing(), rb_notimplement(), rb_num_coerce_bin(), rb_num_coerce_cmp(), rb_num_coerce_relop(), rb_raise_jump(), rb_require_safe(), rb_secure(), rb_struct_ref(), rb_struct_set(), rb_thread_restore_context(), rb_thread_save_context(), rb_thread_switch(), rb_yield_0(), return_jump(), ruby_init(), and specific_eval().

int ruby_in_eval
 

Definition at line 48 of file env.h.

Referenced by err_append(), eval(), rb_compile_string(), rb_fatal(), and rb_load().

struct SCOPE * ruby_scope
 

Referenced by assign(), eval(), garbage_collect(), module_setup(), rb_call0(), rb_callcc(), rb_eval(), rb_eval_cmd(), rb_f_local_variables(), rb_load(), rb_svar(), rb_thread_restore_context(), rb_thread_save_context(), rb_thread_start_0(), rb_thread_yield(), rb_yield_0(), ruby_init(), special_local_set(), top_local_init(), and top_local_setup().


Generated on Wed Jan 18 23:32:08 2006 for Ruby by doxygen 1.3.5