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

* variable.c (obj_ivar_each): get rid of warning.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13570 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
usa 2007-09-29 15:56:50 +00:00
parent 400202f6a5
commit 38694262ef
3 changed files with 8 additions and 4 deletions

View file

@ -1,3 +1,7 @@
Sun Sep 30 00:55:40 2007 NAKAMURA Usaku <usa@ruby-lang.org>
* variable.c (obj_ivar_each): get rid of warning.
Sat Sep 29 17:45:22 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
* main.c (main): use platform-independent per-process initialization.

View file

@ -1093,7 +1093,7 @@ obj_ivar_each(VALUE obj, int (*func)(ANYARGS), st_data_t arg)
return;
data.obj = obj;
data.func = func;
data.func = (int (*)(ID key, VALUE val, st_data_t arg))func;
data.arg = arg;
st_foreach_safe(tbl, obj_ivar_i, (st_data_t)&data);

View file

@ -1,7 +1,7 @@
#define RUBY_VERSION "1.9.0"
#define RUBY_RELEASE_DATE "2007-09-29"
#define RUBY_RELEASE_DATE "2007-09-30"
#define RUBY_VERSION_CODE 190
#define RUBY_RELEASE_CODE 20070929
#define RUBY_RELEASE_CODE 20070930
#define RUBY_PATCHLEVEL 0
#define RUBY_VERSION_MAJOR 1
@ -9,7 +9,7 @@
#define RUBY_VERSION_TEENY 0
#define RUBY_RELEASE_YEAR 2007
#define RUBY_RELEASE_MONTH 9
#define RUBY_RELEASE_DAY 29
#define RUBY_RELEASE_DAY 30
#ifdef RUBY_EXTERN
RUBY_EXTERN const char ruby_version[];