Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

MACRUBY_VERSION is now a string

git-svn-id: http://svn.macosforge.org/repository/ruby/MacRuby/trunk@2858 23306eb0-4c56-4727-a40e-e92c0eb68959
  • Loading branch information...
commit 941c1e42936d02d8507557fd95fb5e634c61e535 1 parent 1c7240c
Laurent Sansonetti authored

Showing 2 changed files with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. +1 1  version.c
  2. +1 1  version.h
2  version.c
@@ -39,7 +39,7 @@ Init_version(void)
39 39 rb_define_global_const("RUBY_ENGINE", MKSTR(engine));
40 40 #if WITH_OBJC
41 41 rb_define_global_const("RUBY_ARCH", rb_str_new2(RUBY_ARCH));
42   - rb_define_global_const("MACRUBY_VERSION", rb_float_new(MACRUBY_VERSION));
  42 + rb_define_global_const("MACRUBY_VERSION", rb_str_new2(MACRUBY_VERSION));
43 43 rb_define_global_const("MACRUBY_REVISION", rb_str_new2(MACRUBY_REVISION));
44 44 #endif
45 45 }
2  version.h
... ... @@ -1,5 +1,5 @@
1 1 #define RUBY_ENGINE "macruby"
2   -#define MACRUBY_VERSION 0.5
  2 +#define MACRUBY_VERSION "0.5"
3 3
4 4 #define RUBY_VERSION "1.9.0"
5 5 #define RUBY_RELEASE_DATE "2008-06-03"

0 comments on commit 941c1e4

Please sign in to comment.
Something went wrong with that request. Please try again.