1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* yarv_version.h : removed.

* common.mk : remove yarv_version.h from rules
* yarvcore.h (Init_yarvcore) : remove useless constants



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11471 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
ko1 2007-01-04 08:27:19 +00:00
parent 74909a2d68
commit a7028afec0
4 changed files with 10 additions and 38 deletions

View file

@ -1,3 +1,11 @@
Thu Jan 4 16:57:14 2007 Koichi Sasada <ko1@atdot.net>
* yarv_version.h : removed.
* common.mk : remove yarv_version.h from rules
* yarvcore.h (Init_yarvcore) : remove useless constants
Thu Jan 4 17:00:06 2007 GOTOU Yuuzou <gotoyuzo@notwork.org>
* ext/openssl/ossl_asn1.c (Init_ossl_asn1):

View file

@ -506,7 +506,7 @@ variable.$(OBJEXT): {$(VPATH)}variable.c {$(VPATH)}ruby.h config.h \
{$(VPATH)}node.h {$(VPATH)}st.h {$(VPATH)}util.h
version.$(OBJEXT): {$(VPATH)}version.c {$(VPATH)}ruby.h config.h \
{$(VPATH)}defines.h {$(VPATH)}intern.h {$(VPATH)}missing.h \
{$(VPATH)}version.h {$(VPATH)}yarv_version.h
{$(VPATH)}version.h
compile.$(OBJEXT): {$(VPATH)}compile.c {$(VPATH)}yarvcore.h \
{$(VPATH)}compile.h {$(VPATH)}debug.h \
@ -517,8 +517,7 @@ vm.$(OBJEXT): {$(VPATH)}vm.c {$(VPATH)}vm.h {$(VPATH)}insnhelper.h \
{$(VPATH)}vm_evalbody.ci {$(VPATH)}call_cfunc.ci \
insns.inc vm.inc vmtc.inc vm_macro.inc vm_opts.h {$(VPATH)}eval_intern.h
vm_dump.$(OBJEXT): {$(VPATH)}yarvcore.h {$(VPATH)}vm.h
yarvcore.$(OBJEXT): {$(VPATH)}yarvcore.c {$(VPATH)}yarvcore.h \
{$(VPATH)}yarv_version.h {$(VPATH)}debug.h
yarvcore.$(OBJEXT): {$(VPATH)}yarvcore.c {$(VPATH)}yarvcore.h {$(VPATH)}debug.h
debug.$(OBJEXT): {$(VPATH)}debug.h
blockinlining.$(OBJEXT): {$(VPATH)}yarv.h {$(VPATH)}yarvcore.h vm_opts.h

View file

@ -1,23 +0,0 @@
/**********************************************************************
yarv_version.h -
$Author$
$Date$
created at: 04/01/11 04:11:41 JST
Copyright (C) 2004-2006 Koichi Sasada
**********************************************************************/
#ifndef _VERSION_H_INCLUDED_
#define _VERSION_H_INCLUDED_
#define MAJOR_VER 0
#define MINOR_VER 4
#define DEVEL_VER 1
extern char yarv_version[];
extern char *yarv_options;
#endif // _VERSION_H_INCLUDED_

View file

@ -13,7 +13,6 @@
#include "ruby.h"
#include "node.h"
#include "yarv_version.h"
#include "yarvcore.h"
#include "yarv.h"
#include "gc.h"
@ -891,19 +890,8 @@ void Init_ISeq(void);
void
Init_yarvcore(void)
{
const char *rev = "$Rev:$";
const char *date = "$Date:$";
snprintf(yarv_version, 0x20, "YARVCore %d.%d.%d",
MAJOR_VER, MINOR_VER, DEVEL_VER);
/* declare YARVCore module */
mYarvCore = rb_define_module("YARVCore");
rb_define_const(mYarvCore, "VERSION", rb_str_new2(yarv_version));
rb_define_const(mYarvCore, "MAJOR", INT2FIX(MAJOR_VER));
rb_define_const(mYarvCore, "MINOR", INT2FIX(MINOR_VER));
rb_define_const(mYarvCore, "REV", rb_str_new2(rev));
rb_define_const(mYarvCore, "DATE", rb_str_new2(date));
rb_define_const(mYarvCore, "OPTS", rb_str_new2(yarv_options));
Init_ISeq();