Ruby 1.9.2p136(2010-12-25revision30365)

- Main Page
- Modules
- Data Structures
- Files

- File List
- Globals

# version.h

Go to the documentation of this file.

    00001 #define RUBY_VERSION "1.9.2"
    00002 #define RUBY_PATCHLEVEL 136
    00003 #define RUBY_VERSION_MAJOR 1
    00004 #define RUBY_VERSION_MINOR 9
    00005 #define RUBY_VERSION_TEENY 1
    00006
    00007 #define RUBY_RELEASE_YEAR 2010
    00008 #define RUBY_RELEASE_MONTH 12
    00009 #define RUBY_RELEASE_DAY 25
    00010 #define RUBY_RELEASE_DATE "2010-12-25"
    00011
    00012 #include "ruby/version.h"
    00013
    00014 #if !defined RUBY_LIB_VERSION && defined RUBY_LIB_VERSION_STYLE
    00015 # if RUBY_LIB_VERSION_STYLE == 3
    00016 #   define RUBY_LIB_VERSION STRINGIZE(RUBY_VERSION_MAJOR)"."STRINGIZE(RUBY_VERSION_MINOR)"."STRINGIZE(RUBY_VERSION_TEENY)
    00017 # elif RUBY_LIB_VERSION_STYLE == 2
    00018 #   define RUBY_LIB_VERSION STRINGIZE(RUBY_VERSION_MAJOR)"."STRINGIZE(RUBY_VERSION_MINOR)
    00019 # endif
    00020 #endif
    00021
    00022 #if RUBY_PATCHLEVEL == -1
    00023 #define RUBY_PATCHLEVEL_STR "dev"
    00024 #else
    00025 #define RUBY_PATCHLEVEL_STR "p"STRINGIZE(RUBY_PATCHLEVEL)
    00026 #endif
    00027
    00028 #ifndef RUBY_REVISION
    00029 # include "revision.h"
    00030 #endif
    00031 # ifndef RUBY_REVISION
    00032 # define RUBY_REVISION 0
    00033 #endif
    00034
    00035 #if RUBY_REVISION
    00036 # ifdef RUBY_BRANCH_NAME
    00037 #  define RUBY_REVISION_STR " "RUBY_BRANCH_NAME" "STRINGIZE(RUBY_REVISION)
    00038 # else
    00039 #  define RUBY_REVISION_STR " revision "STRINGIZE(RUBY_REVISION)
    00040 # endif
    00041 #else
    00042 # define RUBY_REVISION_STR ""
    00043 #endif
    00044
    00045 # define RUBY_DESCRIPTION           \
    00046     "ruby "RUBY_VERSION             \
    00047     RUBY_PATCHLEVEL_STR             \
    00048     " ("RUBY_RELEASE_DATE           \
    00049     RUBY_REVISION_STR") "           \
    00050     "["RUBY_PLATFORM"]"
    00051 # define RUBY_COPYRIGHT             \
    00052     "ruby - Copyright (C) "         \
    00053     STRINGIZE(RUBY_BIRTH_YEAR)"-"   \
    00054     STRINGIZE(RUBY_RELEASE_YEAR)" " \
    00055     RUBY_AUTHOR
    00056