From be36a1b138a311cb4356e5ad64641eb9598c4dcc Mon Sep 17 00:00:00 2001 From: akr Date: Thu, 6 Mar 2008 05:06:30 +0000 Subject: [PATCH] * include/ruby/missing.h (cbrt): add declaration. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15706 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 14 +++++++++----- include/ruby/missing.h | 4 ++++ 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index ee55ff3308..3723ba00cb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Thu Mar 6 14:00:10 2008 Tanaka Akira + + * include/ruby/missing.h (cbrt): add declaration. + Thu Mar 6 11:14:14 2008 Nobuyoshi Nakada * misc/ruby-mode.el (ruby-add-log-current-method): use ruby style @@ -362,13 +366,13 @@ Thu Feb 28 11:23:50 2008 Nobuyoshi Nakada Thu Feb 28 11:19:51 2008 Nobuyoshi Nakada - * string.c (rb_str_reverse_bang): removed unsed variables. + * string.c (rb_str_reverse_bang): removed unused variables. * include/ruby/encoding.h (rb_str_coderange_scan_restartable): added prototype. * string.c (rb_str_coderange_scan_restartable, rb_str_times): removed - unsed variables. + unused variables. * string.c (rb_str_reverse_bang): ditto @@ -389,16 +393,16 @@ Thu Feb 28 03:03:32 2008 Hidetoshi NAGAI a Tk::Tile::Button widget. Of course, you can back to use standard Tk widgets as the default widget set by calling "Tk.default_widget_set = :Tk", whenever you want. Based on - thie feature, you can use Ttk widget styling engine on your + the feature, you can use Ttk widget styling engine on your old Ruby/Tk application without modifying its source, if you - don'tuse widget options unsupported on Ttk widgets (At first, + don't use widget options unsupported on Ttk widgets (At first, call "Tk.default_widget_set = :Ttk", and next load and run your application). This is one step for supporting Tcl/Tk8.5 features. Wed Feb 27 22:55:42 2008 NARUSE, Yui - * string.c (rb_str_coderange_scan_restartable): coderange scaning + * string.c (rb_str_coderange_scan_restartable): coderange scanning for partial read. * io.c (read_all): set coderange when not convert encoding. diff --git a/include/ruby/missing.h b/include/ruby/missing.h index cfa430d5d5..0384b995e3 100644 --- a/include/ruby/missing.h +++ b/include/ruby/missing.h @@ -87,6 +87,10 @@ extern double tgamma(double); extern double lgamma_r(double, int *); #endif +#ifndef HAVE_CBRT +extern double cbrt(double); +#endif + #ifndef isinf # ifndef HAVE_ISINF # if defined(HAVE_FINITE) && defined(HAVE_ISNAN)