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

enum.c (enum_count, count_all_i, Init_Enumerable), array.c (rb_ary_count): Sync with trunk. If no argument or block is given, count the number of all elements. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@16694 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
19 lines
527 B
C
19 lines
527 B
C
#define RUBY_VERSION "1.8.7"
|
|
#define RUBY_RELEASE_DATE "2008-05-30"
|
|
#define RUBY_VERSION_CODE 187
|
|
#define RUBY_RELEASE_CODE 20080530
|
|
#define RUBY_PATCHLEVEL 5000
|
|
|
|
#define RUBY_VERSION_MAJOR 1
|
|
#define RUBY_VERSION_MINOR 8
|
|
#define RUBY_VERSION_TEENY 7
|
|
#define RUBY_RELEASE_YEAR 2008
|
|
#define RUBY_RELEASE_MONTH 5
|
|
#define RUBY_RELEASE_DAY 30
|
|
|
|
#ifdef RUBY_EXTERN
|
|
RUBY_EXTERN const char ruby_version[];
|
|
RUBY_EXTERN const char ruby_release_date[];
|
|
RUBY_EXTERN const char ruby_platform[];
|
|
RUBY_EXTERN const int ruby_patchlevel;
|
|
#endif
|