[前][次][番号順一覧][スレッド一覧]

ruby-changes:9515

From: yugui <ko1@a...>
Date: Fri, 26 Dec 2008 01:33:20 +0900 (JST)
Subject: [ruby-changes:9515] Ruby:r21055 (ruby_1_9_1): merges r20590 from trunk into ruby_1_9_1.

yugui	2008-12-26 01:32:53 +0900 (Fri, 26 Dec 2008)

  New Revision: 21055

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=21055

  Log:
    merges r20590 from trunk into ruby_1_9_1.
    * vm_insnhelper.c (check_cfunc): use function pointer.

  Modified files:
    branches/ruby_1_9_1/ChangeLog
    branches/ruby_1_9_1/vm_insnhelper.c

Index: ruby_1_9_1/ChangeLog
===================================================================
--- ruby_1_9_1/ChangeLog	(revision 21054)
+++ ruby_1_9_1/ChangeLog	(revision 21055)
@@ -1,3 +1,7 @@
+Tue Dec  9 13:23:18 2008  Nobuyoshi Nakada  <nobu@r...>
+
+	* vm_insnhelper.c (check_cfunc): use function pointer.
+
 Thu Nov 27 10:40:52 2008  Yukihiro Matsumoto  <matz@r...>
 
 	* ext/bigdecimal/bigdecimal.c (BigDecimal_div2): should return
Index: ruby_1_9_1/vm_insnhelper.c
===================================================================
--- ruby_1_9_1/vm_insnhelper.c	(revision 21054)
+++ ruby_1_9_1/vm_insnhelper.c	(revision 21055)
@@ -1447,7 +1447,7 @@
 }
 
 static inline int
-check_cfunc(const NODE *mn, const void *func)
+check_cfunc(const NODE *mn, VALUE (*func)())
 {
     if (mn && nd_type(mn->nd_body) == NODE_CFUNC &&
 	mn->nd_body->nd_cfnc == func) {

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]