mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ext/tk/tcltklib.c: rb_hash_lookup has not been backported yet.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@15857 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
a51d3fd03b
commit
b9bdeb035c
4 changed files with 13 additions and 3 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
Sun Mar 30 07:00:32 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
|
* ext/tk/tcltklib.c: rb_hash_lookup has not been backported yet.
|
||||||
|
|
||||||
Sat Mar 29 14:18:41 2008 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
|
Sat Mar 29 14:18:41 2008 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
|
||||||
|
|
||||||
* ext/tk/*: full update Ruby/Tk to support Ruby(1.9|1.8) and Tc/Tk8.5.
|
* ext/tk/*: full update Ruby/Tk to support Ruby(1.9|1.8) and Tc/Tk8.5.
|
||||||
|
|
|
@ -322,6 +322,8 @@ if have_header("tcl.h") && have_header("tk.h") &&
|
||||||
$INSTALLFILES ||= []
|
$INSTALLFILES ||= []
|
||||||
$INSTALLFILES << ["lib/tkextlib/SUPPORT_STATUS", "$(RUBYLIBDIR)", "lib"]
|
$INSTALLFILES << ["lib/tkextlib/SUPPORT_STATUS", "$(RUBYLIBDIR)", "lib"]
|
||||||
|
|
||||||
|
have_func("rb_hash_lookup", "ruby.h")
|
||||||
|
|
||||||
# create
|
# create
|
||||||
$defs << %[-DRUBY_VERSION=\\"#{RUBY_VERSION}\\"]
|
$defs << %[-DRUBY_VERSION=\\"#{RUBY_VERSION}\\"]
|
||||||
$defs << %[-DRUBY_RELEASE_DATE=\\"#{RUBY_RELEASE_DATE}\\"]
|
$defs << %[-DRUBY_RELEASE_DATE=\\"#{RUBY_RELEASE_DATE}\\"]
|
||||||
|
|
|
@ -189,6 +189,10 @@ static Tcl_ObjType *Tcl_ObjType_String;
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef HAVE_RB_HASH_LOOKUP
|
||||||
|
#define rb_hash_lookup rb_hash_aref
|
||||||
|
#endif
|
||||||
|
|
||||||
/* safe Tcl_Eval and Tcl_GlobalEval */
|
/* safe Tcl_Eval and Tcl_GlobalEval */
|
||||||
static int
|
static int
|
||||||
#ifdef RUBY_VM
|
#ifdef RUBY_VM
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#define RUBY_VERSION "1.8.6"
|
#define RUBY_VERSION "1.8.6"
|
||||||
#define RUBY_RELEASE_DATE "2008-03-29"
|
#define RUBY_RELEASE_DATE "2008-03-30"
|
||||||
#define RUBY_VERSION_CODE 186
|
#define RUBY_VERSION_CODE 186
|
||||||
#define RUBY_RELEASE_CODE 20080329
|
#define RUBY_RELEASE_CODE 20080330
|
||||||
#define RUBY_PATCHLEVEL 5000
|
#define RUBY_PATCHLEVEL 5000
|
||||||
|
|
||||||
#define RUBY_VERSION_MAJOR 1
|
#define RUBY_VERSION_MAJOR 1
|
||||||
|
@ -9,7 +9,7 @@
|
||||||
#define RUBY_VERSION_TEENY 6
|
#define RUBY_VERSION_TEENY 6
|
||||||
#define RUBY_RELEASE_YEAR 2008
|
#define RUBY_RELEASE_YEAR 2008
|
||||||
#define RUBY_RELEASE_MONTH 3
|
#define RUBY_RELEASE_MONTH 3
|
||||||
#define RUBY_RELEASE_DAY 29
|
#define RUBY_RELEASE_DAY 30
|
||||||
|
|
||||||
#ifdef RUBY_EXTERN
|
#ifdef RUBY_EXTERN
|
||||||
RUBY_EXTERN const char ruby_version[];
|
RUBY_EXTERN const char ruby_version[];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue