From e19833200a7c07ea32a968fc9528a15a39adb079 Mon Sep 17 00:00:00 2001 From: nobu Date: Thu, 3 May 2007 09:09:14 +0000 Subject: * vm_evalbody.ci, insns.def, vm.c, tool/insns2vm.rb (rb_num_t): renamed to get rid of name clash. [ruby-dev:30504] * yarvcore.c (ruby_thread_init): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12244 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- vm.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'vm.c') diff --git a/vm.c b/vm.c index c8e43d974..d1a0b34e3 100644 --- a/vm.c +++ b/vm.c @@ -30,11 +30,11 @@ VALUE rb_cEnv; #define EVALBODY_HELPER_FUNCTION static inline -typedef unsigned long num_t; +typedef unsigned long rb_num_t; typedef unsigned long lindex_t; typedef unsigned long dindex_t; -typedef num_t GENTRY; +typedef rb_num_t GENTRY; void vm_analysis_operand(int insn, int n, VALUE op); void vm_analysis_register(int reg, int isset); @@ -1263,7 +1263,7 @@ eval_get_cvar_base(rb_thread_t *th, rb_iseq_t *iseq) EVALBODY_HELPER_FUNCTION void eval_define_method(rb_thread_t *th, VALUE obj, - ID id, rb_iseq_t *miseq, num_t is_singleton, NODE *cref) + ID id, rb_iseq_t *miseq, rb_num_t is_singleton, NODE *cref) { NODE *newbody; int noex = cref->nd_visi; -- cgit