summaryrefslogtreecommitdiff
path: root/yarvcore.h
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-06-24 15:42:41 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-06-24 15:42:41 +0000
commit97ba019c9410ccb5ec76f6b54fd2e140b7583038 (patch)
treef3d3c428b2fa8b14e801896c25d5d78a4e4cd91d /yarvcore.h
parenta5c2d584284e2b137b1d4d06574470a971c9087e (diff)
* vm.c: some refactoring.
* rename th_* to vm_*. * remove unused variables functions. * add prototypes. * blockinlining.c, compile.c, cont.c, eval.c, eval_intern.h, eval_jump.h, eval_load.c, inits.c, insns.def, iseq.c, parse.y, proc.c, process.c, signal.c, thread.c, vm.c, vm_dump.c, vm_evalbody.ci, yarvcore.c, yarvcore.h: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12603 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'yarvcore.h')
-rw-r--r--yarvcore.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/yarvcore.h b/yarvcore.h
index c33163a5702..054056c4fb7 100644
--- a/yarvcore.h
+++ b/yarvcore.h
@@ -653,19 +653,19 @@ void rb_enable_interrupt(void);
void rb_disable_interrupt(void);
int rb_thread_method_id_and_klass(rb_thread_t *th, ID *idp, VALUE *klassp);
-VALUE th_eval_body(rb_thread_t *th);
-VALUE th_set_eval_stack(rb_thread_t *, VALUE iseq);
-VALUE th_invoke_proc(rb_thread_t *th, rb_proc_t *proc, VALUE self, int argc, VALUE *argv);
-VALUE th_make_proc(rb_thread_t *th, rb_control_frame_t *cfp, rb_block_t *block);
-VALUE th_make_env_object(rb_thread_t *th, rb_control_frame_t *cfp);
-VALUE th_backtrace(rb_thread_t *, int);
-
-VALUE th_yield(rb_thread_t *th, int argc, VALUE *argv);
-VALUE th_call0(rb_thread_t *th, VALUE klass, VALUE recv,
+VALUE vm_eval_body(rb_thread_t *th);
+VALUE vm_set_eval_stack(rb_thread_t *, VALUE iseq);
+VALUE vm_invoke_proc(rb_thread_t *th, rb_proc_t *proc, VALUE self, int argc, VALUE *argv);
+VALUE vm_make_proc(rb_thread_t *th, rb_control_frame_t *cfp, rb_block_t *block);
+VALUE vm_make_env_object(rb_thread_t *th, rb_control_frame_t *cfp);
+VALUE vm_backtrace(rb_thread_t *, int);
+
+VALUE vm_yield(rb_thread_t *th, int argc, VALUE *argv);
+VALUE vm_call0(rb_thread_t *th, VALUE klass, VALUE recv,
VALUE id, ID oid, int argc, const VALUE *argv,
NODE * body, int nosuper);
-int th_get_sourceline(rb_control_frame_t *);
+int vm_get_sourceline(rb_control_frame_t *);
VALUE yarvcore_eval_parsed(NODE *node, VALUE file);
VALUE yarvcore_eval(VALUE self, VALUE str, VALUE file, VALUE line);