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:
parent
400202f6a5
commit
38694262ef
3 changed files with 8 additions and 4 deletions
|
@ -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.
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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[];
|
||||
|
|
Loading…
Reference in a new issue